chore: Update deleteCustomAttribute method in SDK (#3334)
This commit is contained in:
@@ -12,9 +12,14 @@ export default {
|
||||
...userObject,
|
||||
});
|
||||
},
|
||||
setCustomAttibutes(customAttributes = {}) {
|
||||
setCustomAttributes(customAttributes = {}) {
|
||||
return API.patch(buildUrl('widget/contact'), {
|
||||
custom_attributes: customAttributes,
|
||||
});
|
||||
},
|
||||
deleteCustomAttribute(customAttribute) {
|
||||
return API.post(buildUrl('widget/contact/destroy_custom_attributes'), {
|
||||
custom_attributes: [customAttribute],
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user