update api call

This commit is contained in:
Cam 2024-02-27 00:48:58 -06:00
parent 04af1f50d0
commit 076b43dbe9
No known key found for this signature in database
GPG Key ID: 367B7C7EBD84A8BD

View File

@ -22,7 +22,7 @@ const RegenerateToken = (props) => {
return;
}
account.regenerateToken({body: {emailAddress: props.user.email}})
accountApi.regenerateToken({body: {emailAddress: props.user.email}})
.then(resp => {
console.log(resp);
let user = JSON.parse(localStorage.getItem('user'));