tayeh.js
Advanced tools
Comparing version 0.1.93 to 0.1.94
@@ -189,11 +189,11 @@ "use strict"; | ||
like(body) { | ||
const path = `${resourceName}/like`; | ||
const path = 'feed/like'; | ||
return this.post(path, body); | ||
} | ||
comment(comment) { | ||
const path = `${resourceName}/comment`; | ||
const path = 'feed/comment'; | ||
return this.put(path, comment); | ||
} | ||
deleteComment(feed_id, comment_id) { | ||
const path = `${resourceName}/${feed_id}/comment/${comment_id}`; | ||
const path = `feed/${feed_id}/comment/${comment_id}`; | ||
return this.delete(path); | ||
@@ -200,0 +200,0 @@ } |
{ | ||
"name": "tayeh.js", | ||
"version": "0.1.93", | ||
"version": "0.1.94", | ||
"description": "tayeh shop-api client", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
184594