async fetchUserinfo()

in src/lib/store/modules/auth.store.js [31:43]


    async fetchUserinfo({commit, state}) {
        if (!state.userinfo) {
            await custosPortalService.fetchUserinfo()
                .catch(() => commit("CLEAR_USERINFO"))
                .then((data) => {
                    if (!data) {
                        commit("CLEAR_USERINFO");
                    } else {
                        commit("SET_USERINFO", data);
                    }
                });
        }
    }