@@ -113,7 +113,9 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
}
async function getUserInfo() {
- const { data: info, error } = await fetchGetUserInfo();
+ const {
+ data: { data: info, error }
+ } = await fetchGetUserInfo();
if (!error) {
// update store