summary refs log tree commit diff
diff options
context:
space:
mode:
authormyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 01:50:46 +0200
committermyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 01:50:46 +0200
commit696655edd0f989a379d8da8915793bb4ce96a20f (patch)
treed5fa90441f28be2769467d7c6600614f1a8f812d
parent01459daa4d83f55813391f8225bb5a9aeb86fcea (diff)
fixed typo
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 047a84f..7a22bfd 100644
--- a/index.js
+++ b/index.js
@@ -60,7 +60,7 @@ function boost(rows) {
     return !boosted[id];
   })
   .forEach(function(id) {
-    M.post(`/api/vi/statuses/${id}/reblog`, function(err, result) {
+    M.post(`statuses/${id}/reblog`, function(err, result) {
       console.log(`boosted status #${id}`);
       console.dir(err);
       console.dir(result);