Merge pull request #23 from Totonyus/develop

Correction : don't send a body for a get.
This commit is contained in:
Totonyus 2024-10-14 10:23:36 +02:00 committed by GitHub
commit 94ddbeef21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
const effective_method = preset.method !== undefined ? preset.method : preset.route.method;
let data = {};
let data = null;
let headers = {};
if (preset.body !== undefined) {