aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-02-26 22:26:54 +0900
committerPitu <[email protected]>2019-02-26 22:26:54 +0900
commit6cd31674d5d72a20eae25cd2296d9270d999e270 (patch)
tree5b270135b5e3b5a684eec68c64dc08e46f78be13 /src/api
parentAdded adminOnly routes (diff)
downloadhost.fuwn.me-6cd31674d5d72a20eae25cd2296d9270d999e270.tar.xz
host.fuwn.me-6cd31674d5d72a20eae25cd2296d9270d999e270.zip
Not needed anymore
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/files/uploadPOST.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/api/routes/files/uploadPOST.js b/src/api/routes/files/uploadPOST.js
index 52e92d6..b003311 100644
--- a/src/api/routes/files/uploadPOST.js
+++ b/src/api/routes/files/uploadPOST.js
@@ -148,11 +148,6 @@ class uploadPOST extends Route {
editedAt: now
}, 'id');
}
-
- /*
- TODO: Something funny here, I'm not sure since I don't use MySQL but I think the argument id
- on the insert function on top behaves differently on psql/mysql/sqlite. Needs testing.
- */
} catch (error) {
log.error('There was an error saving the file to the database');
log.error(error);