mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
Use HATEOAS link to change password
This commit is contained in:
@@ -136,10 +136,12 @@ const callFetchMe = (link: string): Promise<Me> => {
|
||||
return response.json();
|
||||
})
|
||||
.then(json => {
|
||||
const { name, displayName, mail, _links } = json;
|
||||
return {
|
||||
name: json.name,
|
||||
displayName: json.displayName,
|
||||
mail: json.mail
|
||||
name,
|
||||
displayName,
|
||||
mail,
|
||||
_links
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user