Skip to content

Instantly share code, notes, and snippets.

@chankanzu
Created October 20, 2019 15:27
Show Gist options
  • Save chankanzu/da06008bbfd748bd343b8b7789936977 to your computer and use it in GitHub Desktop.
Save chankanzu/da06008bbfd748bd343b8b7789936977 to your computer and use it in GitHub Desktop.
var obj = JSON.parse($response.body);
obj["subscriptions"] = [
{
"expire_at": "21190505",
"subscription": "lifetime_membership",
"days_to_end": 36469,
"created_at": "20190529151809"
}
];
$done({body: JSON.stringify(obj)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment