Skip to content

Commit

Permalink
1.10.9: Fixed undefined rentalRequestId issue when adding new rental …
Browse files Browse the repository at this point in the history
…request
  • Loading branch information
bcgov-brwang committed Oct 27, 2023
1 parent 2fdb6f6 commit 62c12eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ export const addRentalRequest = (rentalRequest, viewOnly) => async (dispatch) =>
});

dispatch(getEquipmentHires());

rentalRequest.id = rentalRequestResponse.id;
return rentalRequest;
};

Expand Down

0 comments on commit 62c12eb

Please sign in to comment.