mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
Use Me-type
This commit is contained in:
@@ -205,7 +205,9 @@ export const fetchMe = () => {
|
||||
return response.json();
|
||||
})
|
||||
.then(me => {
|
||||
dispatch(fetchMeSuccess(me));
|
||||
dispatch(
|
||||
fetchMeSuccess({ userName: me.name, displayName: me.displayName })
|
||||
);
|
||||
})
|
||||
.catch((error: Error) => {
|
||||
if (error === UNAUTHORIZED_ERROR) {
|
||||
|
||||
Reference in New Issue
Block a user