From a70b6f31fc63a14910646da97a7f7e10ebb2d921 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 14 Dec 2022 14:47:48 +0000 Subject: [PATCH] chore: lint --- PluralKit.Core/Database/Repository/ModelRepository.Member.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PluralKit.Core/Database/Repository/ModelRepository.Member.cs b/PluralKit.Core/Database/Repository/ModelRepository.Member.cs index 1b489f07..8a45d0e6 100644 --- a/PluralKit.Core/Database/Repository/ModelRepository.Member.cs +++ b/PluralKit.Core/Database/Repository/ModelRepository.Member.cs @@ -101,7 +101,8 @@ public partial class ModelRepository public async Task UpdateMemberForSentMessage(MemberId id) { var query = new Query("members") - .AsUpdate(new { + .AsUpdate(new + { last_message_timestamp = new UnsafeLiteral("now()"), message_count = new UnsafeLiteral("message_count + 1") })