TP-71626 | API contract changes

This commit is contained in:
yashmantri
2024-08-26 19:57:42 +05:30
parent 1e64664c42
commit ead922c42a

View File

@@ -79,7 +79,7 @@ export const syncActiveCallDetails = () => {
export const syncFeedbackNudgeDetails = (callId: string) => {
const url = getApiUrl(ApiKeys.SYNC_CALL_FEEDBACK_NUDGE_DETAILS, { callId });
axiosInstance.put(url, {}, { headers: { donotHandleError: true } }).catch((err: Error) => {
axiosInstance.patch(url, {}, { headers: { donotHandleError: true } }).catch((err: Error) => {
logError(err);
});
};