mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Update rules
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user