From 4813e05589cfb435b67467d251d7d62387eac3b1 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 3 Jul 2022 19:38:14 +0200 Subject: [PATCH] Fix error while building app --- app/Controllers/Http/LinksController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Http/LinksController.ts b/app/Controllers/Http/LinksController.ts index b633f1d..520c8a0 100755 --- a/app/Controllers/Http/LinksController.ts +++ b/app/Controllers/Http/LinksController.ts @@ -42,7 +42,7 @@ export default class LinksController { const exist = await Redis.get(`${link.code}:${ip}:tracked`) if (!exist) { const getCountry = request.header('CF-IPCountry', '') - await Redis.set(`${link.code}:${ip}:tracked`, 'true', 'ex', '3600') + await Redis.set(`${link.code}:${ip}:tracked`, 'true', 'EX', '3600') const click = await Click.create({ date: DateTime.now(), ip,