update types

This commit is contained in:
Benjamin Toby 2024-10-11 10:15:29 +01:00
parent 77bb403f10
commit d9b9076bb2

View File

@ -126,7 +126,7 @@ function userAuth({
success: true,
payload: userObject,
};
} catch (error) {
} catch (/** @type {any} */ error) {
/**
* Return User Object
*
@ -135,7 +135,7 @@ function userAuth({
return {
success: false,
payload: null,
msg: error,
msg: error.message,
};
}
}