refactor: enum casing (#19946)

This commit is contained in:
Jason Rasmussen
2025-07-15 14:50:13 -04:00
committed by GitHub
parent 920d7de349
commit e73abe0762
174 changed files with 2675 additions and 2459 deletions

View File

@@ -234,14 +234,14 @@ export const useSwagger = (app: INestApplication, { write }: { write: boolean })
scheme: 'Bearer',
in: 'header',
})
.addCookieAuth(ImmichCookie.ACCESS_TOKEN)
.addCookieAuth(ImmichCookie.AccessToken)
.addApiKey(
{
type: 'apiKey',
in: 'header',
name: ImmichHeader.API_KEY,
name: ImmichHeader.ApiKey,
},
MetadataKey.API_KEY_SECURITY,
MetadataKey.ApiKeySecurity,
)
.addServer('/api')
.build();