feat(ratecard): add currency field to rate card queries and update logic

This commit is contained in:
shancds
2025-05-20 14:30:58 +05:30
parent 26b0b5780a
commit 3dd56f094c
3 changed files with 16 additions and 21 deletions

View File

@@ -87,6 +87,7 @@ export const updateRateCard = createAsyncThunk(
async ({ id, body }: { id: string; body: RatecardType }, { rejectWithValue }) => {
try {
const response = await rateCardApiService.updateRateCard(id, body);
console.log('response', response);
return response.body;
} catch (error) {
logger.error('Update RateCard', error);