backend-manager 5.0.140 → 5.0.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "5.0.140",
3
+ "version": "5.0.141",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -186,7 +186,7 @@ const Chargebee = {
186
186
  */
187
187
  async setMetaData(resource, meta = {}) {
188
188
  this.init();
189
- const metaBody = { meta_data: meta };
189
+ const metaBody = { meta_data: JSON.stringify(meta) };
190
190
 
191
191
  // Backfill subscription
192
192
  await this.request(`/subscriptions/${resource.id}`, {