aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes
diff options
context:
space:
mode:
authorPitu <[email protected]>2021-01-07 19:03:47 +0900
committerPitu <[email protected]>2021-01-07 19:03:47 +0900
commitf3dc0ffe7507915710ce2c5d36ba9125394a262e (patch)
treec80ee29b003f4ea250a680052527ccb3f8bd3b67 /src/api/routes
parentfix: normalize url and thumbnail response (diff)
downloadhost.fuwn.me-f3dc0ffe7507915710ce2c5d36ba9125394a262e.tar.xz
host.fuwn.me-f3dc0ffe7507915710ce2c5d36ba9125394a262e.zip
chore: update sharex snippet to use apiKey instead of jwt
Diffstat (limited to 'src/api/routes')
-rw-r--r--src/api/routes/verifyGET.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/routes/verifyGET.js b/src/api/routes/verifyGET.js
index 2f370e8..c94c155 100644
--- a/src/api/routes/verifyGET.js
+++ b/src/api/routes/verifyGET.js
@@ -11,7 +11,8 @@ class verifyGET extends Route {
user: {
id: user.id,
username: user.username,
- isAdmin: user.isAdmin
+ isAdmin: user.isAdmin,
+ apiKey: user.apiKey
}
});
}