diff options
| author | Adam Soltys <[email protected]> | 2022-10-06 00:31:29 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-06 00:31:29 -0700 |
| commit | ae0bfc079df34acec4f9aeed7a4013e8d37d0424 (patch) | |
| tree | 49b389549f39e267350ee57669d840d48ac938ee /src/lib/utils.js | |
| parent | 5e1ed8ee833daf0578c28bc738bf26ae9491cf85 (diff) | |
| download | coinos-ui-ae0bfc079df34acec4f9aeed7a4013e8d37d0424.tar.gz coinos-ui-ae0bfc079df34acec4f9aeed7a4013e8d37d0424.zip | |
prettier
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
