aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/login.ts')
-rw-r--r--server/tests/utils/login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/login.ts b/server/tests/utils/login.ts
index c9d4aed44..22d37c46f 100644
--- a/server/tests/utils/login.ts
+++ b/server/tests/utils/login.ts
@@ -32,7 +32,7 @@ async function loginAndGetAccessToken (server: Server) {
32 return res.body.access_token as string 32 return res.body.access_token as string
33} 33}
34 34
35async function getUserAccessToken (server, user) { 35async function getUserAccessToken (server: Server, user: User) {
36 const res = await login(server.url, server.client, user, 200) 36 const res = await login(server.url, server.client, user, 200)
37 37
38 return res.body.access_token as string 38 return res.body.access_token as string