@radio-retail/api-client
Advanced tools
Comparing version
@@ -13,2 +13,10 @@ const getData = require('../utils/get-raw-data'); | ||
return instance.post(`${baseRoute}/media/unschedule`, body).then(getData(config.raw)); | ||
}, | ||
mediaPostComment(mediaId, body = {}, config = {}) { | ||
return instance.post(`${baseRoute}/media/${mediaId}/comments`, body).then(getData(config.raw)); | ||
}, | ||
mediaDeleteComment(mediaId, commentId, config = {}) { | ||
return instance.delete(`${baseRoute}/media/${mediaId}/comments/${commentId}`).then(getData(config.raw)); | ||
} | ||
@@ -15,0 +23,0 @@ |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "6.0.11", | ||
"version": "6.0.12", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
20572
1.7%469
1.3%