aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/albums/link
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-05-11 00:19:10 +0900
committerPitu <[email protected]>2020-05-11 00:19:10 +0900
commitb886fda0793b8a26de58cd462acf6676a0a8e7ed (patch)
tree07fcc32486b7654bf3ba173cef4061dc7cb6f12e /src/api/routes/albums/link
parentfix: remove uuid from user registration (diff)
downloadhost.fuwn.me-b886fda0793b8a26de58cd462acf6676a0a8e7ed.tar.xz
host.fuwn.me-b886fda0793b8a26de58cd462acf6676a0a8e7ed.zip
chore: cleanup and todo
Diffstat (limited to 'src/api/routes/albums/link')
-rw-r--r--src/api/routes/albums/link/linkDELETE.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/routes/albums/link/linkDELETE.js b/src/api/routes/albums/link/linkDELETE.js
index 904687f..23db411 100644
--- a/src/api/routes/albums/link/linkDELETE.js
+++ b/src/api/routes/albums/link/linkDELETE.js
@@ -15,8 +15,6 @@ class linkDELETE extends Route {
.where({ identifier, userId: user.id })
.first();
- dump(link);
-
if (!link) return res.status(400).json({ message: 'Identifier doesn\'t exist' });
await db.table('links')