mirror of
https://github.com/immich-app/immich.git
synced 2026-03-10 03:43:43 -04:00
fix(server): add missing history metadata to getAuthStatus endpoint (#25927)
* fix(server): add missing history metadata to getAuthStatus endpoint * chore: regenerate openapi specs
This commit is contained in:
parent
f0da875e37
commit
ac9f6921cc
@ -4959,7 +4959,22 @@
|
||||
"summary": "Retrieve auth status",
|
||||
"tags": [
|
||||
"Authentication"
|
||||
]
|
||||
],
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v1",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v1",
|
||||
"state": "Beta"
|
||||
},
|
||||
{
|
||||
"version": "v2",
|
||||
"state": "Stable"
|
||||
}
|
||||
],
|
||||
"x-immich-state": "Stable"
|
||||
}
|
||||
},
|
||||
"/auth/validateToken": {
|
||||
|
||||
@ -112,6 +112,7 @@ export class AuthController {
|
||||
summary: 'Retrieve auth status',
|
||||
description:
|
||||
'Get information about the current session, including whether the user has a password, and if the session can access locked assets.',
|
||||
history: new HistoryBuilder().added('v1').beta('v1').stable('v2'),
|
||||
})
|
||||
getAuthStatus(@Auth() auth: AuthDto): Promise<AuthStatusResponseDto> {
|
||||
return this.service.getAuthStatus(auth);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user