lint fix
This commit is contained in:
parent
9994c61f8f
commit
d51e1949fa
|
@ -53,7 +53,7 @@ export function createAuthStore() {
|
||||||
resetPassword: async (password, code) => {
|
resetPassword: async (password, code) => {
|
||||||
const response = await api.post(`/api/admin/auth/reset/update`, {
|
const response = await api.post(`/api/admin/auth/reset/update`, {
|
||||||
password,
|
password,
|
||||||
resetCode: code
|
resetCode: code,
|
||||||
})
|
})
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
throw "Unable to reset password"
|
throw "Unable to reset password"
|
||||||
|
|
Loading…
Reference in New Issue