Update rules

This commit is contained in:
SukkaW
2021-06-26 09:12:20 +08:00
parent 0736ce4432
commit 680cc6eecc
4 changed files with 851 additions and 94 deletions

View File

@@ -1,6 +1,8 @@
let body = $response.body;
body = JSON.parse(body);
body['response']['user']['is_premium'] = true;
if (body?.response?.user?.is_premium) {
body.response.user.is_premium = true;
}
body = JSON.stringify(body);
$done({ body })