✏️ fix typo err

This commit is contained in:
目棃
2024-03-26 15:28:21 +08:00
parent c75858ceab
commit eaf2245e38
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export async function getGameRoleListByLToken(
body: http.Body.json(data),
})
.then((res) => {
if (res.data.retcode !== 0) return res.data;
if (res.data.retcode !== 0) return <TGApp.BBS.Response.Base>res.data;
return res.data.data.avatars;
});
}

View File

@@ -43,7 +43,7 @@ async function getSyncAvatarDetail(
query: params,
})
.then((res) => {
if (res.data.retcode !== 0) return res.data;
if (res.data.retcode !== 0) return <TGApp.BBS.Response.Base>res.data;
return res.data.data;
});
}