[🐛] 3차 푸시 확인

Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
김선규 2024-11-30 02:30:43 +09:00
parent 818721f11d
commit 39beefcd37
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class PushController : ControllerBase
}
var apnsTopic = "me.myds.ipstien.acamate.AcaMate";
Console.WriteLine($"{uri} || {p12FilePath}");
var pushService = new PushServiceWithP12(keysFilePath, p12FilePath, apnsTopic);
// 푸시 알림 전송

View File

@ -57,7 +57,7 @@ public class PushServiceWithP12
try
{
var response = await client.PostAsync($"/3/device/{deviceToken}", content);
if (response.IsSuccessStatusCode)
{
Console.WriteLine("Push notification sent successfully.");