Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Use labels API when possible instead of Series #857

Merged
merged 11 commits into from
Jul 17, 2023
Prev Previous commit
Next Next commit
Fixes tenants tests
  • Loading branch information
cyriltovena committed Jul 17, 2023
commit e1cdb1345342c65240efc586928de7ec9673efc9
4 changes: 3 additions & 1 deletion public/app/overrides/services/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ export async function connectRequest(
// window.location.href = mountURL('/login');
// }
if ('message' in data && typeof data.message === 'string') {
return Result.err(new RequestNotOkError(response.status, data.message));
return Result.err(
new RequestNotOkError(response.status, data.message)
);
}
return Result.err(new RequestNotOkError(response.status, data.error));
}
Expand Down
Loading