From e745f313a89defea70253f3c5d78fe132ba1ae98 Mon Sep 17 00:00:00 2001 From: ivanszabo Date: Fri, 16 May 2025 08:40:51 +0200 Subject: [PATCH] =?UTF-8?q?Megfelel=C5=91=20hang=20lej=C3=A1tsz=C3=A1sa=20?= =?UTF-8?q?is=20jav=C3=ADtva?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WorkFlowCheck.API/appsettings.Development.json | 2 +- src/WorkFlowCheck.BL/Services/MessageService.cs | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/WorkFlowCheck.API/appsettings.Development.json b/src/WorkFlowCheck.API/appsettings.Development.json index 1a9ed94..8526c55 100644 --- a/src/WorkFlowCheck.API/appsettings.Development.json +++ b/src/WorkFlowCheck.API/appsettings.Development.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "DefaultConnection": "Data Source=WS2016DC\\SQLEXPRESS;Initial Catalog=WFCUAT;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust Server Certificate=False;Application Intent=ReadWrite;Multi Subnet Failover=False" + "DefaultConnection": "Data Source=WS2016DC\\SQLEXPRESS;Initial Catalog=WFC;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust Server Certificate=False;Application Intent=ReadWrite;Multi Subnet Failover=False" }, "Logging": { "LogLevel": { diff --git a/src/WorkFlowCheck.BL/Services/MessageService.cs b/src/WorkFlowCheck.BL/Services/MessageService.cs index c641415..cb9ed60 100644 --- a/src/WorkFlowCheck.BL/Services/MessageService.cs +++ b/src/WorkFlowCheck.BL/Services/MessageService.cs @@ -70,7 +70,7 @@ namespace WorkFlowCheck.BL.Services } else { - FCMToken.LastModAt = DateTime.UtcNow; + FCMToken.LastModAt = DateTime.UtcNow; } await _dbContext.SaveChangesAsync(); } @@ -130,6 +130,13 @@ namespace WorkFlowCheck.BL.Services { title = fCMMessageDTO.Title, body = fCMMessageDTO.Body, + }, + android = new + { + notification = new + { + channel_id = "com.nuvolar.wfcapp.general" + } } } };