Merged in fix/redis-delete (pull request #3271)
feat(redis): include git hash when deleting without fuzzy * feat(redis): include git hash when deleting without fuzzy * Refactor Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -49,7 +49,7 @@ export async function POST() {
|
||||
revalidateManuallyLogger.info(`Tag: ${tag}`)
|
||||
|
||||
revalidateTag(tag)
|
||||
cacheClient.deleteKey(tag, { fuzzy: false })
|
||||
cacheClient.deleteKey(tag, { fuzzy: false, includeGitHashInKey: true })
|
||||
|
||||
return Response.json({ revalidated: true, now: Date.now() })
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user