From e45fed69bb87f980c13ecb81f9b72d332fe66b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 2 Jun 2025 23:26:33 +0300 Subject: [PATCH] >_> --- apps/threads.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/threads.lua b/apps/threads.lua index 1932594..b83b914 100644 --- a/apps/threads.lua +++ b/apps/threads.lua @@ -147,7 +147,7 @@ app:post("thread", "/:slug", function(self) local subscription = Subscriptions:find({user_id = user.id, thread_id = thread.id}) if subscription then - subscription:update({last_seen = os.time}) + subscription:update({last_seen = os.time()}) end if self.params.subscribe == "on" and not subscription then Subscriptions:create({user_id = user.id, thread_id = thread.id, last_seen = os.time()})