[🐛] 3차 푸시 확인 #8

Merged
seonkyu.kim merged 1 commits from seonkyu.kim/AcaMate_API:main into debug 2024-11-29 17:31:34 +00:00
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.");