Merge pull request '[🐛] 3차 푸시 확인' (#8) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good

Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_API/pulls/8
This commit is contained in:
김선규 2024-11-29 17:31:32 +00:00
commit 910e9cfadf
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.");