mirror of
https://github.com/openziti/zrok.git
synced 2024-11-24 17:13:51 +01:00
update api call
This commit is contained in:
parent
04af1f50d0
commit
076b43dbe9
@ -22,7 +22,7 @@ const RegenerateToken = (props) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
account.regenerateToken({body: {emailAddress: props.user.email}})
|
accountApi.regenerateToken({body: {emailAddress: props.user.email}})
|
||||||
.then(resp => {
|
.then(resp => {
|
||||||
console.log(resp);
|
console.log(resp);
|
||||||
let user = JSON.parse(localStorage.getItem('user'));
|
let user = JSON.parse(localStorage.getItem('user'));
|
||||||
|
Loading…
Reference in New Issue
Block a user