cleanup
This commit is contained in:
parent
3e25207863
commit
48d46f6098
@ -39,7 +39,6 @@ export const useAuth = defineStore('auth', {
|
|||||||
|
|
||||||
await $fetch<LoginObj>('/auth/login/', {
|
await $fetch<LoginObj>('/auth/login/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: new Headers([['content-type', 'application/json;charset=UTF-8']]),
|
|
||||||
body: JSON.stringify(payload),
|
body: JSON.stringify(payload),
|
||||||
async onResponse({ response }) {
|
async onResponse({ response }) {
|
||||||
code = response.status
|
code = response.status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user