@jd-data-limited/easy-fm 3.2.9 → 3.2.10

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": "@jd-data-limited/easy-fm",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "dependencies": {
5
5
  "follow-redirects": "^1.15.5",
6
6
  "moment": "^2.29.4",
@@ -131,7 +131,7 @@ export class Field {
131
131
  yield this.record.layout.database.apiRequest(`${this.record.endpoint}/containers/${this.id}/1`, {
132
132
  method: "POST",
133
133
  // @ts-ignore
134
- headers: { "Authorization": "Bearer " + this.record.layout.database.token, "Content-Type": "multipart/form-data" },
134
+ headers: { "Authorization": "Bearer " + this.record.layout.database.token, "content-type": "multipart/form-data" },
135
135
  body: form
136
136
  });
137
137
  });
@@ -140,7 +140,7 @@ export class Field<T extends FieldValue> {
140
140
  await this.record.layout.database.apiRequest<null>(`${this.record.endpoint}/containers/${this.id}/1`, {
141
141
  method: "POST",
142
142
  // @ts-ignore
143
- headers: {"Authorization": "Bearer " + this.record.layout.database.token, "Content-Type": "multipart/form-data"},
143
+ headers: {"Authorization": "Bearer " + this.record.layout.database.token, "content-type": "multipart/form-data"},
144
144
  body: form
145
145
  })
146
146
  }