@radio-retail/api-client
Advanced tools
Comparing version 1.0.54 to 1.0.55
@@ -11,2 +11,6 @@ const crud = require('../../dist/utils/crud'); | ||
return instance.get(`${baseRoute}/search`, config).then(getData(config.raw)); | ||
}, | ||
toggleActive(id, active, config = {}) { | ||
return instance.post(`${baseRoute}/${id}/${active ? 'deactivate' : 'activate'}`, config).then(getData(config.raw)); | ||
} | ||
@@ -13,0 +17,0 @@ |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.54", | ||
"version": "1.0.55", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
20032
455