mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: update response codes (#20770)
* chore: update response codes * chore: skip problematic test
This commit is contained in:
parent
2ce4f8dd3b
commit
13563fc507
33 changed files with 119 additions and 85 deletions
|
|
@ -2978,7 +2978,7 @@ export function linkOAuthAccount({ oAuthCallbackDto }: {
|
|||
oAuthCallbackDto: OAuthCallbackDto;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 201;
|
||||
status: 200;
|
||||
data: UserAdminResponseDto;
|
||||
}>("/oauth/link", oazapfts.json({
|
||||
...opts,
|
||||
|
|
@ -3169,7 +3169,7 @@ export function mergePerson({ id, mergePersonDto }: {
|
|||
mergePersonDto: MergePersonDto;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 201;
|
||||
status: 200;
|
||||
data: BulkIdResponseDto[];
|
||||
}>(`/people/${encodeURIComponent(id)}/merge`, oazapfts.json({
|
||||
...opts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue