chore: lint

This commit is contained in:
spiral 2022-12-14 14:47:48 +00:00
parent ad59fa92f1
commit a70b6f31fc
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -101,7 +101,8 @@ public partial class ModelRepository
public async Task UpdateMemberForSentMessage(MemberId id) public async Task UpdateMemberForSentMessage(MemberId id)
{ {
var query = new Query("members") var query = new Query("members")
.AsUpdate(new { .AsUpdate(new
{
last_message_timestamp = new UnsafeLiteral("now()"), last_message_timestamp = new UnsafeLiteral("now()"),
message_count = new UnsafeLiteral("message_count + 1") message_count = new UnsafeLiteral("message_count + 1")
}) })