diff --git a/package-lock.json b/package-lock.json index 1be2cf98..c0cf8570 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "vue-tsc": "^2" }, "peerDependencies": { - "@velis/dynamicforms": "^0.77.1", + "@velis/dynamicforms": "^0.77.7", "axios": "^1.2.0", "lodash": "^4.17.15", "pinia": "^2.0.33", @@ -2223,9 +2223,9 @@ "peer": true }, "node_modules/@velis/dynamicforms": { - "version": "0.77.1", - "resolved": "https://registry.npmjs.org/@velis/dynamicforms/-/dynamicforms-0.77.1.tgz", - "integrity": "sha512-dK1kOiri1IekIRHsJn3U62hUgIosTGBdh1SYISEa8hRKRwFo5eDSCWBg3mTCUbqg2aKryUKInQijpFpGV4J5aQ==", + "version": "0.77.7", + "resolved": "https://registry.npmjs.org/@velis/dynamicforms/-/dynamicforms-0.77.7.tgz", + "integrity": "sha512-fNIdj1IBOY6tqYID2YDPqlw4eA0dq2M7YpzC+eeeMxp5tNiQcQcVjKczDO1iaHak2wILZj/0ynqEoMQ3Bqr0yQ==", "peer": true, "dependencies": { "@ckeditor/ckeditor5-vue": "^7.0.0", diff --git a/package.json b/package.json index d9ed34f1..da2e3549 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "export-pdf": "press-export-pdf --debug export docs" }, "peerDependencies": { - "@velis/dynamicforms": "^0.77.1", + "@velis/dynamicforms": "^0.77.9", "axios": "^1.2.0", "lodash": "^4.17.15", "pinia": "^2.0.33", diff --git a/requirements.txt b/requirements.txt index 4e768fe1..f972e480 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ django djangorestframework -dynamicforms>=0.77.1 +dynamicforms>=0.77.9 swapper django-rest-registration drf-spectacular>=0.17.2, <0.26.0 diff --git a/vue/api-client.ts b/vue/api-client.ts index a9857dd9..0eb711f7 100644 --- a/vue/api-client.ts +++ b/vue/api-client.ts @@ -23,7 +23,8 @@ apiClient.interceptors.request.use( if (_.includes(Store.get('ignored-apis') || [], config.url)) { new AbortController().abort('app-canceled-err'); } - config.headers['Content-Type'] = 'application/json'; + console.log(`ApiClient Content-Type = ${config.headers['Content-Type']}`); + // config.headers['Content-Type'] = 'application/json'; if (currentProject && currentProject.length) { config.headers['Current-Project'] = currentProject; }