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" + } } } };