Merged in fix/redis-delete-headers (pull request #3208)
feat(BOOK-603): fixed correct headers when deleting in redis * feat(BOOK-603): fixed correct headers when deleting in redis
This commit is contained in:
@@ -15,6 +15,7 @@ export async function deleteKeys(keys: string[], opts?: { fuzzy?: boolean }) {
|
|||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
cache: "no-cache",
|
cache: "no-cache",
|
||||||
headers: {
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
"x-api-key": API_KEY,
|
"x-api-key": API_KEY,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ keys, fuzzy: opts?.fuzzy ?? false }),
|
body: JSON.stringify({ keys, fuzzy: opts?.fuzzy ?? false }),
|
||||||
|
|||||||
Reference in New Issue
Block a user