@radio-retail/api-client
Advanced tools
Comparing version 6.0.20 to 6.0.21
@@ -26,3 +26,4 @@ const methods = require('../utils/methods'); | ||
getComments(id, config = {}) { | ||
getComments(id, params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/${id}/comments`).then(getData(config.raw)); | ||
@@ -29,0 +30,0 @@ }, |
@@ -27,3 +27,4 @@ const getData = require('../utils/get-raw-data'); | ||
getMediaComments(id, config = {}) { | ||
getMediaComments(id, params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/media/${id}/comments`).then(getData(config.raw)); | ||
@@ -30,0 +31,0 @@ }, |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "6.0.20", | ||
"version": "6.0.21", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
21057
480