From 28efd21417f96a61c9a21e144baaa139142ee88d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:17:19 +0000 Subject: [PATCH] chore: code formatting --- source/app/web/statics/oauth/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/app/web/statics/oauth/script.js b/source/app/web/statics/oauth/script.js index 271dd6ae..24250809 100644 --- a/source/app/web/statics/oauth/script.js +++ b/source/app/web/statics/oauth/script.js @@ -74,11 +74,11 @@ scopes: [], extras: [], session: null, - supported:(() => { + supported: (() => { try { const storage = window.localStorage const test = "__storage_test__" - storage.setItem(test, test); + storage.setItem(test, test) if (localStorage.getItem(test) !== test) throw new Error("localStorage value mismatch") storage.removeItem(test) @@ -88,7 +88,7 @@ console.error(error) return false } - })() + })(), }, }) })()