File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ const eventsPlugin: FastifyPluginAsync = async (fastify, _options) => {
174174 if ( ! ts ) {
175175 reply . header ( "Cache-Control" , CLIENT_HTTP_CACHE_POLICY ) ;
176176 }
177- return reply . header ( "x-acm-cache-status" , "hit" ) . send ( parsedItems ) ;
177+ return reply . send ( parsedItems ) ;
178178 } catch ( e : unknown ) {
179179 if ( e instanceof Error ) {
180180 request . log . error ( "Failed to get from DynamoDB: " + e . toString ( ) ) ;
@@ -372,7 +372,7 @@ const eventsPlugin: FastifyPluginAsync = async (fastify, _options) => {
372372 if ( ! ts ) {
373373 reply . header ( "Cache-Control" , CLIENT_HTTP_CACHE_POLICY ) ;
374374 }
375- return reply . header ( "x-acm-cache-status" , "miss" ) . send ( item ) ;
375+ return reply . send ( item ) ;
376376 } catch ( e ) {
377377 if ( e instanceof BaseError ) {
378378 throw e ;
You can’t perform that action at this time.
0 commit comments