1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-30 05:29:30 +02:00

fix(server): restore user (#15763)

This commit is contained in:
Jason Rasmussen
2025-01-29 11:49:08 -05:00
committed by GitHub
parent 9033a99587
commit a0aea021a1
9 changed files with 39 additions and 6 deletions

View File

@ -1475,7 +1475,7 @@ export function restoreUserAdmin({ id }: {
id: string;
}, opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{
status: 201;
status: 200;
data: UserAdminResponseDto;
}>(`/admin/users/${encodeURIComponent(id)}/restore`, {
...opts,