mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
parent
db744f500b
commit
5b7417bf64
5 changed files with 341 additions and 410 deletions
e2e/src
|
@ -404,9 +404,8 @@ export const utils = {
|
|||
},
|
||||
]),
|
||||
|
||||
cliLogin: async () => {
|
||||
const admin = await utils.adminSetup();
|
||||
const key = await utils.createApiKey(admin.accessToken);
|
||||
cliLogin: async (accessToken: string) => {
|
||||
const key = await utils.createApiKey(accessToken);
|
||||
await immichCli(['login-key', app, `${key.secret}`]);
|
||||
return key.secret;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue