forked from jpcnmm/Scripting
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mimo.vip.js
34 lines (32 loc) · 786 Bytes
/
mimo.vip.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
var obj = JSON.parse($response.body);
obj= {
"source": "ios",
"status": "active",
"interval": "yearly",
"billingInfo": {
"currency": "USD",
"nextBillingPrice": 59.98999999999999
},
"subscriptions": [
{
"source": "ios",
"status": "active",
"interval": "yearly",
"billingInfo": {
"currency": "USD",
"nextBillingPrice": 59.98999999999999
},
"intervalCount": 1,
"activeUntil": "2099-10-10T08:04:21+00:00",
"createdAt": "2019-10-03T08:04:21+00:00",
"clientSecret": "",
"isActive": true
}
],
"intervalCount": 1,
"activeUntil": "2099-10-10T08:04:21+00:00",
"createdAt": "2019-10-03T08:04:21+00:00",
"clientSecret": "",
"isActive": true
};
$done({body: JSON.stringify(obj)});