diff --git a/Program/V1/Controllers/PushController.cs b/Program/V1/Controllers/PushController.cs index 735057b..58f580b 100644 --- a/Program/V1/Controllers/PushController.cs +++ b/Program/V1/Controllers/PushController.cs @@ -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); // 푸시 알림 전송 diff --git a/Program/V1/Services/PushService.cs b/Program/V1/Services/PushService.cs index 7fa73e9..1766aa4 100644 --- a/Program/V1/Services/PushService.cs +++ b/Program/V1/Services/PushService.cs @@ -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.");