aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/user/apiKey.js
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
committerZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
commit90001c2df56d58e69fd199a518ae7f3e4ed327fc (patch)
treeac601537b5f464a1b03b084e5139e460f42e3473 /src/api/routes/user/apiKey.js
parentchore: update lock files (diff)
downloadhost.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.tar.xz
host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.zip
chore: remove trailing commas
Diffstat (limited to 'src/api/routes/user/apiKey.js')
-rw-r--r--src/api/routes/user/apiKey.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/user/apiKey.js b/src/api/routes/user/apiKey.js
index a63f0c0..653c56a 100644
--- a/src/api/routes/user/apiKey.js
+++ b/src/api/routes/user/apiKey.js
@@ -17,7 +17,7 @@ class apiKeyPOST extends Route {
.where({ id: user.id })
.update({
apiKey,
- apiKeyEditedAt: now,
+ apiKeyEditedAt: now
});
} catch (error) {
dump(error);
@@ -26,7 +26,7 @@ class apiKeyPOST extends Route {
return res.json({
message: 'Successfully created new api key',
- apiKey,
+ apiKey
});
}
}