Update BMA.EHR.Insignia/Services/InsigniaRequestProcessService.cs

This commit is contained in:
Forgejo Admin 2025-09-11 15:28:00 +07:00
parent 6bba1b19ce
commit 51fc5c6395

View file

@ -35,11 +35,12 @@ public class InsigniaRequestProcessService : BackgroundService
public override async Task StartAsync(CancellationToken cancellationToken)
{
var client = new SocketIO("https://bma-ehr.frappet.synology.me/api/v1/org-socket",
var client = new SocketIO("https://hrmsbkk.case-collection.com",
new SocketIOOptions
{
// เพิ่ม token ใน handshake.auth
Auth = new { token = AccessToken ?? "" }
Auth = new { token = AccessToken ?? "" },
Path = "/api/v1/org-socket"
});
client.OnConnected += async (sender, e) =>