@radio-retail/api-client
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -45,3 +45,3 @@ const getData = require('../utils/get-raw-data'); | ||
config.params = params; | ||
return instance.patch(`${contactsBaseRoute}/contacts/${contactId}`, config).then(getData(config.raw)); | ||
return instance.patch(`${contactsBaseRoute}/${contactId}`, config).then(getData(config.raw)); | ||
}, | ||
@@ -55,3 +55,3 @@ | ||
deleteContact(contactId) { | ||
return instance.delete(`${contactsBaseRoute}/contacts/${contactId}`); | ||
return instance.delete(`${contactsBaseRoute}/${contactId}`); | ||
}, | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
11839