Fix build warnings

This commit is contained in:
jwu-fisker
2021-01-06 22:00:23 -08:00
parent 75eeb0e4e9
commit 812b91ee74
3 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
const AUTH_URL = 'https://dev-auth.fiskerdps.com';
export default {
const auth = {
signIn: (username, password) => fetch(`${AUTH_URL}/auth/login`, {
method: "POST",
headers: {
@@ -30,4 +30,6 @@ export default {
},
body: JSON.stringify({ token: jwt })
}).then((response) => response.json()),
}
};
export default auth;