fix status codes

This commit is contained in:
Hugo Renard 2022-02-11 14:20:33 +01:00
parent 65bf284856
commit 9cc58730dd
Signed by: hougo
GPG key ID: 3A285FD470209C59
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ export class UserEndpoint extends ApiEndpoint {
headers: {
"Content-Type": "application/scim+json",
},
status: HttpStatusCode.FOUND,
status: HttpStatusCode.OK,
content: user,
};
}
@ -100,7 +100,7 @@ export class UserEndpoint extends ApiEndpoint {
headers: {
"Content-Type": "application/scim+json",
},
status: HttpStatusCode.FOUND,
status: HttpStatusCode.OK,
content: user,
};
}

View file

@ -58,7 +58,7 @@ export class UsersEndpoint extends ApiEndpoint {
headers: {
"Content-Type": "application/scim+json",
},
status: HttpStatusCode.FOUND,
status: HttpStatusCode.OK,
content: list,
};
}