mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
lint
This commit is contained in:
parent
fc46bb071b
commit
df9e8c8411
@ -142,7 +142,7 @@ describe(`/oauth`, () => {
|
||||
it(`should throw an error if the state mismatches`, async () => {
|
||||
const callbackParams = await loginWithOAuth('oauth-auto-register');
|
||||
const { state } = await loginWithOAuth('oauth-auto-register');
|
||||
const { status, body } = await request(app)
|
||||
const { status } = await request(app)
|
||||
.post('/oauth/callback')
|
||||
.send({ ...callbackParams, state });
|
||||
expect(status).toBeGreaterThanOrEqual(400);
|
||||
|
Loading…
x
Reference in New Issue
Block a user