From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/mastodon/index.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'recipes/mastodon/index.js') diff --git a/recipes/mastodon/index.js b/recipes/mastodon/index.js index 561bb58..14a7917 100644 --- a/recipes/mastodon/index.js +++ b/recipes/mastodon/index.js @@ -1,14 +1,14 @@ module.exports = (Franz) => { - class Mastodon extends Franz { - validateServer(URL) { - const api = `${URL}`; - return new Promise((resolve, reject) => { - $.get(api, (resp) => { - resolve(); - }).fail(reject); - }); - } + class Mastodon extends Franz { + validateServer(URL) { + const api = `${URL}`; + return new Promise((resolve, reject) => { + $.get(api, (resp) => { + resolve(); + }).fail(reject); + }); } + } - return Mastodon; + return Mastodon; }; -- cgit v1.2.3-70-g09d2