From d7e35c5a48f55ebb1dfcdcbb29c7da79fb84943f Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:02:25 -0600 Subject: run format script --- src/lib/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/utils.js b/src/lib/utils.js index 7eeab648..38999a91 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -42,8 +42,7 @@ export const post = (url, body, headers) => { throw new Error(body); } - - if (body.error) throw body.error; + if (body.error) throw body.error; if (body instanceof Error) throw body; if (body.name === 'Error') throw new Error(body.message); -- cgit v1.2.3