From ae0bfc079df34acec4f9aeed7a4013e8d37d0424 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 6 Oct 2022 00:31:29 -0700 Subject: prettier --- src/lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/utils.js') diff --git a/src/lib/utils.js b/src/lib/utils.js index 65d42ffb..777d2621 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -98,7 +98,7 @@ export const info = (m) => { export const login = async (user, cookies) => { let maxAge = 30 * 24 * 60 * 60; let { token } = await post('/login', user); - if (!token) throw new Error("Login failed"); + if (!token) throw new Error('Login failed'); let expires = new Date(); expires.setSeconds(expires.getSeconds() + maxAge); -- cgit v1.2.3