Skip to content

Commit b7e74ff

Browse files
authored
Merge pull request #83 from zenml-io/Redirect-via-URL
fixed Authentication error
2 parents ecfe35a + 70c2c00 commit b7e74ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/redux/sagas/requestSaga.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { showToasterAction } from '../actions';
77
import { httpStatus } from '../../constants';
88
import { actionTypesHandledByRequestSaga } from './actionTypesHandledByRequestSaga';
99

10-
const translate = getTranslateByScope('..');
10+
const translate = getTranslateByScope('Authentication error');
1111

1212
export const isRequestAction = (action: any): boolean => {
1313
return actionTypesHandledByRequestSaga.includes(action.type);
@@ -26,7 +26,7 @@ function* logoutAndNotifyUserThatSessionExpired(): any {
2626
yield put(sessionActions.logout());
2727
yield put(
2828
showToasterAction({
29-
description: translate('Authentication error'),
29+
description: translate(''),
3030
type: toasterTypes.failure,
3131
}),
3232
);

0 commit comments

Comments
 (0)