Skip to content

Commit 2c12c9d

Browse files
author
David Heidrich
committed
fix: removed the cache directive before reading the cached value
1 parent 6e75bc0 commit 2c12c9d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/createProxyCacheMiddleware.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ export const createProxyCacheMiddleware =
7070
)
7171
req._hasCache = { id, timeout }
7272

73-
// eslint-disable-next-line @typescript-eslint/no-extra-semi
74-
// could this be piped here (with req.pipe)
7573
req.body = { ...req.body, query: print(nextQuery) }
7674

7775
const possibleData = await queryCache.get(id)

0 commit comments

Comments
 (0)