diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 14:03:51 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 14:03:51 +0200 |
commit | 96a3d87d195a2ca23394c7aaf0448112b0c67a00 (patch) | |
tree | 1393135b152b17ea7664f186f4fcb6c2a62018c5 | |
parent | edc506770093fb5745ab7db3c17379f1b8d5596a (diff) |
removed arrow syntax, default mastodon version is 4
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index 8657372..70b1f89 100644 --- a/index.js +++ b/index.js @@ -80,7 +80,7 @@ var boosted = (function() { })(); function boost(rows) { - rows.filter(x => !boosted.already(x)) + rows.filter(function(x) { return !boosted.already(x); }) .forEach(function(row) { M.post('/statuses/' + row.id + '/reblog', function(err, result) { if (err) { |