diff --git a/src/http/wellKnown/unauthorizedError.ts b/src/http/wellKnown/unauthorizedError.ts index ecfb888..c78113a 100644 --- a/src/http/wellKnown/unauthorizedError.ts +++ b/src/http/wellKnown/unauthorizedError.ts @@ -22,7 +22,7 @@ import { InruptClientError } from "../../clientError"; import type { ErrorResponse } from "../errorResponse"; import { ClientHttpError } from "../httpError"; -export const UNAUTHORIZED_STATUS = 412 as const; +export const UNAUTHORIZED_STATUS = 401 as const; export type UnauthorizedErrorResponse = ErrorResponse & { status: typeof UNAUTHORIZED_STATUS;