Commit 1683ca9e by John Doe

added comments to folder service

parent 939a9dee
Showing with 1 additions and 1 deletions
...@@ -32,7 +32,7 @@ class DbFolderService ...@@ -32,7 +32,7 @@ class DbFolderService
def __create_file_on_db(file:) def __create_file_on_db(file:)
return true if @db_service.create_file(file) return true if @db_service.create_file(file)
@error_msg = "from db_service: #{db_service.error_msg}" @error_msg = "from db_service: #{db_service.error_msg}"
file.path = '' file.path = '' # clear out the file settings
file.folder = nil file.folder = nil
false false
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment