From e7b131fe2e10c5e6d335c9e8902dc06bb3ed246b Mon Sep 17 00:00:00 2001 From: Basique Evangelist Date: Fri, 28 Jan 2022 17:22:57 +0300 Subject: [PATCH] fix heart has started beating messages --- JetHerald/Services/Db.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JetHerald/Services/Db.cs b/JetHerald/Services/Db.cs index 84a812b..9fa9720 100644 --- a/JetHerald/Services/Db.cs +++ b/JetHerald/Services/Db.cs @@ -103,7 +103,7 @@ public class Db public async Task ReportHeartbeat(uint topicId, string heart, int timeoutSeconds) { using var c = GetConnection(); - return await c.ExecuteAsync( + return await c.QueryFirstAsync( @"CALL report_heartbeat(@topicId, @heart, @timeoutSeconds);", new { topicId, heart, timeoutSeconds }); }