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:
Vahant Sharma 2026-02-06 00:26:44 +05:30 committed by GitHub
parent f0da875e37
commit ac9f6921cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

View File

@ -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": {

View File

@ -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);