Skip to content

Commit

Permalink
ui: fix for undefined in url
Browse files Browse the repository at this point in the history
  • Loading branch information
karolina-siemieniuk-morawska authored and DonHaul committed Oct 3, 2024
1 parent ded05f1 commit 1fb20f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class BackofficeApiService extends CommonApiService {
private handleRequest<T>(requestFn: () => Promise<T>): Promise<T> {
return requestFn().catch((error) => {
if (error.status === 403) {
const refreshToken = localStorage.getItem('backoffice.refresh');
const refreshToken = localStorage.getItem('backoffice.refreshToken');

if (!refreshToken) {
return Promise.reject(error);
Expand Down

0 comments on commit 1fb20f2

Please sign in to comment.