diff --git a/src/contexts/GlobalContext.js b/src/contexts/GlobalContext.js index e9cfce15d0ed60aa11521f813d03eb9564c0fc6b..4c6e27721b82edb0ad6a8dcdddacb1448f94be20 100644 --- a/src/contexts/GlobalContext.js +++ b/src/contexts/GlobalContext.js @@ -10,7 +10,7 @@ function getUserName(api_host, setLoggedInUserName){ axios .get(profileUrl, {withCredentials: true}) .then((response) => { - setLoggedInUserName(response.data.results[0].user_name); + setLoggedInUserName(response.data.results[0].full_name); }) }