Fix build warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user