Skip to content

Commit

Permalink
fix(core-api): add request method as part of cache key (#4157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner authored Nov 10, 2020
1 parent feb1d6b commit 4e8f5c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-api/src/plugins/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const generateCacheKey = (request: Hapi.Request): string =>
params: request.params || {},
payload: request.payload || {},
query: request.query,
method: request.method,
}),
).toString("hex");

Expand Down

0 comments on commit 4e8f5c1

Please sign in to comment.