aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-12-10 09:39:09 +0100
committerGitHub <noreply@github.com>2020-12-10 09:39:09 +0100
commit2e7ab6c1aca2921c60ed0d61542abf8949493a02 (patch)
tree05d4b3fa34bdb388681fe191f030a5ad7b92c340 /lib
parentf160c92d06446bd90b8ac4e1d238ecabb0c97651 (diff)
parent6ac7d7b77242b36d7fc52ea84a061464c71579c7 (diff)
downloadlibquotient-2e7ab6c1aca2921c60ed0d61542abf8949493a02.tar.gz
libquotient-2e7ab6c1aca2921c60ed0d61542abf8949493a02.zip
Merge pull request #420 from TobiasFella/work/deletefix
Fix DELETE jobs with json data
Diffstat (limited to 'lib')
-rw-r--r--lib/jobs/basejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index 1f0e84ba..b757854a 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -324,7 +324,7 @@ void BaseJob::Private::sendRequest()
reply.reset(connection->nam()->put(req, requestData.source()));
break;
case HttpVerb::Delete:
- reply.reset(connection->nam()->deleteResource(req));
+ reply.reset(connection->nam()->sendCustomRequest(req, "DELETE", requestData.source()));
break;
}
}