@studiometa/forge-core 0.4.7 → 0.4.8

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/dist/index.js CHANGED
@@ -1626,7 +1626,7 @@ async function updateEnv(options, ctx) {
1626
1626
  await request(ROUTES.env.update, ctx, {
1627
1627
  server_id: options.server_id,
1628
1628
  site_id: options.site_id
1629
- }, { body: { content: options.content } });
1629
+ }, { body: { environment: options.content } });
1630
1630
  return { data: void 0 };
1631
1631
  }
1632
1632
  //#endregion
@@ -1649,7 +1649,7 @@ async function updateNginxConfig(options, ctx) {
1649
1649
  await request(ROUTES.nginx.update, ctx, {
1650
1650
  server_id: options.server_id,
1651
1651
  site_id: options.site_id
1652
- }, { body: { content: options.content } });
1652
+ }, { body: { config: options.content } });
1653
1653
  return { data: void 0 };
1654
1654
  }
1655
1655
  //#endregion