1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-24 11:52:16 +00:00

fix: Build error

Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2022-11-25 10:31:37 +01:00
parent f5fa952e54
commit 33814d7df2
Signed by: Florian Bouillon
GPG Key ID: E05B3A94178D3A7C

View File

@ -39,7 +39,7 @@ const endpointToField: Record<string, keyof SDKCard> = {
// })
server
.use(apicache.middleware('1 day', (req: Request, res: Response) => req.method === 'GET', {}))
.use(apicache.middleware('1 day', (req: Request) => req.method === 'GET', {}))