From 6bca59c293c85b0eaf9de6cb6a618fb779fed95d Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Thu, 30 Jan 2020 20:01:46 +0100 Subject: [PATCH] remove useless comment --- src/server/handlers.cr | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/server/handlers.cr b/src/server/handlers.cr index dcc6285..93b333d 100644 --- a/src/server/handlers.cr +++ b/src/server/handlers.cr @@ -58,6 +58,7 @@ def hdl_upload(request : FileStorage::UploadRequest, user : User) : FileStorage: pp! request # TODO: verify the rights and quotas of the user + # file_info attributes: name, size, nb_chunks, digest, tags # First: check if the file already exists transfer_info = Context.db_by_filedigest.get? request.file.digest @@ -71,12 +72,6 @@ def hdl_upload(request : FileStorage::UploadRequest, user : User) : FileStorage: # In this case: ignore the upload request end - # file_info.name - # file_info.size - # file_info.nb_chunks - # file_info.digest - # file_info.tags - FileStorage::Response.new request.mid, "Upload OK" rescue e puts "Error handling transfer: #{e.message}"