aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/user/userGET.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/user/userGET.js')
-rw-r--r--src/api/routes/user/userGET.js3
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
}
});
}