From 6675cdba20752fd36cc4ef25617e7495044c3847 Mon Sep 17 00:00:00 2001 From: myk bilokonsky Date: Mon, 10 Apr 2017 03:05:08 +0200 Subject: removing more es6 --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 8429a09..0c2039c 100644 --- a/index.js +++ b/index.js @@ -61,17 +61,17 @@ function boost(rows) { return !boosted[id]; }) .forEach(function(id) { - M.post(`statuses/${id}/reblog`, function(err, result) { + M.post('statuses/' + id + '/reblog', function(err, result) { if (err) { if (err.message === 'Validation failed: Reblog of status already exists') { boosted[id] = true; - return console.log(`Warning: tried to boost #${id} but it had already been boosted by this account. Adding to cache.`); + return console.log('Warning: tried to boost #' + id + ' but it had already been boosted by this account. Adding to cache.'); } return console.error(err); } boosted[id] = true; - console.log(`boosted status #${id}`); + console.log('boosted status #' + id); }); }) } -- cgit