From 96a3d87d195a2ca23394c7aaf0448112b0c67a00 Mon Sep 17 00:00:00 2001 From: myk bilokonsky Date: Sat, 15 Apr 2017 14:03:51 +0200 Subject: removed arrow syntax, default mastodon version is 4 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit