diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 03:05:08 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 03:05:08 +0200 |
commit | 6675cdba20752fd36cc4ef25617e7495044c3847 (patch) | |
tree | b7c09e1f27cb7937961a3aa426e3efbe4aea3a93 | |
parent | c3352eadd3250a2cd28b8d5cb63b981d4f0015f9 (diff) |
removing more es6
-rw-r--r-- | index.js | 6 |
1 files changed, 3 insertions, 3 deletions
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); }); }) } |