remove useless comment

dev
Philippe PITTOLI 2020-01-30 20:01:46 +01:00
parent a9aea04a27
commit 6bca59c293
1 changed files with 1 additions and 6 deletions

View File

@ -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}"