Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
13
research/chatwoot/app/javascript/survey/api/endPoints.js
Normal file
13
research/chatwoot/app/javascript/survey/api/endPoints.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const updateSurvey = ({ uuid, data }) => ({
|
||||
url: `/public/api/v1/csat_survey/${uuid}`,
|
||||
data,
|
||||
});
|
||||
|
||||
const getSurvey = ({ uuid }) => ({
|
||||
url: `/public/api/v1/csat_survey/${uuid}`,
|
||||
});
|
||||
|
||||
export default {
|
||||
getSurvey,
|
||||
updateSurvey,
|
||||
};
|
||||
Reference in New Issue
Block a user