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/rocketchat/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'recipes/rocketchat/index.js') diff --git a/recipes/rocketchat/index.js b/recipes/rocketchat/index.js index 54450ce..499053a 100644 --- a/recipes/rocketchat/index.js +++ b/recipes/rocketchat/index.js @@ -1,13 +1,11 @@ -"use strict"; - module.exports = Franz => class RocketChat extends Franz { async validateUrl(url) { try { const resp = await window.fetch(url, { method: 'GET', headers: { - 'Content-Type': 'application/json' - } + 'Content-Type': 'application/json', + }, }); const status = resp.status.toString(); return status.startsWith('2') || status.startsWith('3'); @@ -17,5 +15,4 @@ module.exports = Franz => class RocketChat extends Franz { return false; } - -}; \ No newline at end of file +}; -- cgit v1.2.3-54-g00ecf