update: 部分接口移除avatarImgId_str字段 #1797

This commit is contained in:
binaryify
2023-10-22 10:27:50 +08:00
parent 255161f995
commit bddb6dcbb5
5 changed files with 38 additions and 11 deletions
+6 -1
View File
@@ -33,7 +33,12 @@ module.exports = async (query, request) => {
result = {
status: 200,
body: {
...result.body,
...JSON.parse(
JSON.stringify(result.body).replace(
/avatarImgId_str/g,
'avatarImgIdStr',
),
),
cookie: result.cookie.join(';'),
},
cookie: result.cookie,