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:
Linus Flood
2025-11-24 11:34:28 +00:00
parent 8ed16a0119
commit 109f641044

View File

@@ -15,6 +15,7 @@ export async function deleteKeys(keys: string[], opts?: { fuzzy?: boolean }) {
method: "DELETE",
cache: "no-cache",
headers: {
"Content-Type": "application/json",
"x-api-key": API_KEY,
},
body: JSON.stringify({ keys, fuzzy: opts?.fuzzy ?? false }),