@malevich-studio/strapi-sdk-typescript 1.0.5 → 1.0.7

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/cli.mjs CHANGED
@@ -21284,10 +21284,10 @@ class Strapi {
21284
21284
  return await this.uploadForm(form);
21285
21285
  }
21286
21286
  async uploadForm(form) {
21287
- return await this.baseRequest('upload', {
21287
+ return (await this.baseRequest('upload', {
21288
21288
  method: 'POST',
21289
21289
  body: form,
21290
- });
21290
+ })).data;
21291
21291
  }
21292
21292
  async baseRequest(endpoint, params = {}) {
21293
21293
  const response = await fetch(`${this.url}/api/${endpoint}`, _.merge({