mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
comment
This commit is contained in:
parent
268cb88e56
commit
1edcec7859
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ proc createDeletionRoutes*() =
|
|||
var listOfFiles = @[newFile()]
|
||||
try:
|
||||
db.select(listOfFiles, "File.owner = ?", user.id)
|
||||
except NotFoundError:
|
||||
except NotFoundError: # this error does not occur even if no files exist
|
||||
resp Http404, "Files do not exist.\n"
|
||||
|
||||
for i in 0..(listOfFiles.len - 1):
|
||||
|
|
Loading…
Add table
Reference in a new issue