mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 21:45:43 +01:00
cleanup code & add tests
This commit is contained in:
@@ -103,3 +103,5 @@ export function createBackendError(content: BackendErrorContent, statusCode: num
|
||||
export function isBackendError(response: Response) {
|
||||
return response.headers.get("Content-Type") === "application/vnd.scmm-error+json;v=2";
|
||||
}
|
||||
|
||||
export const TOKEN_EXPIRED_ERROR_CODE = "DDS8D8unr1";
|
||||
|
||||
Reference in New Issue
Block a user