Merge pull request #9807 from ToolJet/fix/rest-api-multiform

Fix: RestAPI multiform request
This commit is contained in:
Akshay 2024-05-23 17:29:48 +05:30 committed by GitHub
commit 3974b00087
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,6 @@ export default class RestapiQueryService implements QueryService {
...this.fetchHttpsCertsForCustomCA(sourceOptions),
headers: sanitizeHeaders(sourceOptions, queryOptions, hasDataSource),
searchParams,
...(isUrlEncoded ? { form: json } : { json }),
};
const hasFiles = (json) => {