refactor(ratecard): remove console log from updateRateCard thunk
This commit is contained in:
@@ -87,7 +87,6 @@ export const updateRateCard = createAsyncThunk(
|
|||||||
async ({ id, body }: { id: string; body: RatecardType }, { rejectWithValue }) => {
|
async ({ id, body }: { id: string; body: RatecardType }, { rejectWithValue }) => {
|
||||||
try {
|
try {
|
||||||
const response = await rateCardApiService.updateRateCard(id, body);
|
const response = await rateCardApiService.updateRateCard(id, body);
|
||||||
console.log('response', response);
|
|
||||||
return response.body;
|
return response.body;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error('Update RateCard', error);
|
logger.error('Update RateCard', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user