all repos — litestore @ 7df07cc402038099cee0ed06c3c2b5d26878cf5f

A minimalist nosql document store.

Minor fixes.
Fabio Cevasco h3rald@h3rald.com
Thu, 06 Aug 2020 14:24:54 +0200
commit

7df07cc402038099cee0ed06c3c2b5d26878cf5f

parent

bcf472e14dd032d096bed39a5199818264614034

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/litestorepkg/lib/api_v7.nimsrc/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)