diff options
| author | Zephyrrus <[email protected]> | 2020-07-02 23:40:35 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-07-02 23:40:35 +0300 |
| commit | dd46f79550d8e7a2f7a0364cc0fb8e7a38ed4aba (patch) | |
| tree | fef980a4c300c03349a017210f9411409fda422f /src/api/routes/user/userGET.js | |
| parent | feat: experimental video preview generator in webm form (diff) | |
| download | host.fuwn.me-dd46f79550d8e7a2f7a0364cc0fb8e7a38ed4aba.tar.xz host.fuwn.me-dd46f79550d8e7a2f7a0364cc0fb8e7a38ed4aba.zip | |
feat: return APIKey when fetching user
Diffstat (limited to 'src/api/routes/user/userGET.js')
| -rw-r--r-- | src/api/routes/user/userGET.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/routes/user/userGET.js b/src/api/routes/user/userGET.js index fe46fd4..7929aac 100644 --- a/src/api/routes/user/userGET.js +++ b/src/api/routes/user/userGET.js @@ -11,7 +11,8 @@ class usersGET extends Route { user: { id: user.id, username: user.username, - isAdmin: user.isAdmin + isAdmin: user.isAdmin, + apiKey: user.apiKey } }); } |