Skip to content

Commit

Permalink
Merge pull request #1111 from kimbu-chat/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
remotenode authored May 23, 2022
2 parents 0e345f7 + 46c5548 commit 251c5b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cicd
on:
push:
branches:
- develop
- development

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ESLint pull request
on:
pull_request:
branches:
- develop
- development

concurrency:
group: ${{ github.head_ref }}
Expand Down
3 changes: 1 addition & 2 deletions src/store/common/http/http-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { call, cancelled, put, take } from 'redux-saga/effects';

import { RefreshToken } from '@store/auth/features/refresh-token/refresh-token';
import { httpRequest } from '@store/common/http/http-request';
import { emitToast } from '@utils/emit-toast';

import { isNetworkError } from '../../../utils/error-utils';
import { RefreshTokenSuccess } from '../../auth/features/refresh-token/refresh-token-success';
Expand Down Expand Up @@ -48,7 +47,7 @@ export const httpRequestFactory = <TResponse, TBody = unknown>(
} catch (e: any) {
const error = e as AxiosError;

emitToast(error.message, { type: 'error' });
// emitToast(error.message, { type: 'error' });
if (!isNetworkError(e) && error?.response?.status === 401) {
yield put(RefreshToken.action());

Expand Down

0 comments on commit 251c5b5

Please sign in to comment.