Minor fixes.
Fabio Cevasco h3rald@h3rald.com
Thu, 06 Aug 2020 14:24:54 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/litestorepkg/lib/api_v7.nim
→
src/litestorepkg/lib/api_v7.nim
@@ -1068,7 +1068,7 @@ headers["Content-Type"] = "application/json"
return newSimpleLSRequest(HttpPatch, resource, id, body, "", headers).multiRoute(resource, id) proc delete(resource, id: string): LSResponse = - return newSimpleLSRequest(HttpPatch, resource, id).multiRoute(resource, id) + return newSimpleLSRequest(HttpDelete, resource, id).multiRoute(resource, id) proc head(resource, id: string): LSResponse = return newSimpleLSRequest(HttpHead, resource, id).multiRoute(resource, id)