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/zulip/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/zulip/index.js') diff --git a/recipes/zulip/index.js b/recipes/zulip/index.js index 199d0f4..cd8ffea 100644 --- a/recipes/zulip/index.js +++ b/recipes/zulip/index.js @@ -1,13 +1,13 @@ module.exports = Franz => class Zulip extends Franz { async validateUrl(url) { const baseUrl = new window.URL(url); - const apiVersion = 'api/v1' + const apiVersion = 'api/v1'; try { const resp = await window.fetch(`${baseUrl.origin}/${apiVersion}/server_settings`, { - method: 'GET', - headers: { - 'Content-Type': 'application/json', - }, + method: 'GET', + headers: { + 'Content-Type': 'application/json', + }, }); const data = await resp.json(); -- cgit v1.2.3-54-g00ecf