From 39beefcd3741ee935aece1408a6a36b18e4e1ff2 Mon Sep 17 00:00:00 2001 From: "seonkyu.kim" Date: Sat, 30 Nov 2024 02:30:43 +0900 Subject: [PATCH] =?UTF-8?q?[=F0=9F=90=9B]=203=EC=B0=A8=20=ED=91=B8?= =?UTF-8?q?=EC=8B=9C=20=ED=99=95=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: seonkyu.kim --- Program/V1/Controllers/PushController.cs | 2 +- Program/V1/Services/PushService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.");