diff --git a/UserEndpoint.ts b/UserEndpoint.ts index 4b112b9..32dd00b 100644 --- a/UserEndpoint.ts +++ b/UserEndpoint.ts @@ -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, }; } diff --git a/UsersEndpoint.ts b/UsersEndpoint.ts index c374cbb..55a524b 100644 --- a/UsersEndpoint.ts +++ b/UsersEndpoint.ts @@ -58,7 +58,7 @@ export class UsersEndpoint extends ApiEndpoint { headers: { "Content-Type": "application/scim+json", }, - status: HttpStatusCode.FOUND, + status: HttpStatusCode.OK, content: list, }; }