fix: skip user api error
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ export async function getInitialState(): Promise<{
|
|||||||
const fetchUserInfo = async (): Promise<Global.UserInfo> => {
|
const fetchUserInfo = async (): Promise<Global.UserInfo> => {
|
||||||
try {
|
try {
|
||||||
const data = await queryCurrentUserState({
|
const data = await queryCurrentUserState({
|
||||||
skipErrorHandler: false
|
skipErrorHandler: true
|
||||||
});
|
});
|
||||||
if (data.is_admin) {
|
if (data.is_admin) {
|
||||||
getUpdateCheck();
|
getUpdateCheck();
|
||||||
|
|||||||
Reference in New Issue
Block a user