mirror of
https://github.com/immich-app/immich.git
synced 2025-12-29 09:14:59 +03:00
refactor: enum casing (#19946)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user