update types
This commit is contained in:
parent
77bb403f10
commit
d9b9076bb2
@ -126,7 +126,7 @@ function userAuth({
|
|||||||
success: true,
|
success: true,
|
||||||
payload: userObject,
|
payload: userObject,
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (/** @type {any} */ error) {
|
||||||
/**
|
/**
|
||||||
* Return User Object
|
* Return User Object
|
||||||
*
|
*
|
||||||
@ -135,7 +135,7 @@ function userAuth({
|
|||||||
return {
|
return {
|
||||||
success: false,
|
success: false,
|
||||||
payload: null,
|
payload: null,
|
||||||
msg: error,
|
msg: error.message,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user