diff --git a/src/utils/apiUtils.ts b/src/utils/apiUtils.ts index 4dd3bb7ad..2a668875b 100644 --- a/src/utils/apiUtils.ts +++ b/src/utils/apiUtils.ts @@ -6,6 +6,7 @@ import {store} from "./store"; export const getAndSetUser = () => { getMe() .then(expectResponseCode()) + .then(response => response.json()) .then(user => { if (!user) { return;