Skip to content

Commit

Permalink
Wired External Asset
Browse files Browse the repository at this point in the history
  • Loading branch information
rigoeffector committed Sep 3, 2023
1 parent bc58889 commit 63f72d2
Show file tree
Hide file tree
Showing 2 changed files with 379 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/sagas/product/external/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function* deleteExternalAssetRequestSaga(action) {
yield put(loading(DELETE_EXTERNAL_ASSET_LOADING, {loading: true}));
const {payload} = action;
const response = yield call(productApi.externalAssets.delete, {...payload});
if (response && response.status === 201) {
if (response && response.status === 202) {
yield put(success(DELETE_EXTERNAL_ASSET_SUCCESS, response));
yield* listExternallAssetsRequestSaga({
type: GET_EXTERNAL_ASSETS_LIST_REQUEST
Expand Down
Loading

0 comments on commit 63f72d2

Please sign in to comment.