|
@@ -4450,7 +4450,7 @@ namespace OASystem.API.OAMethodLib
|
|
|
var rst = await _deviceTokenRep.Query(s => s.Number == Numbers).SingleAsync();
|
|
|
Result rst2 = new Result() { Code = -1, Msg = "" };
|
|
|
if (rst != null) {
|
|
|
- rst2 = await APNsLib.pushMsg("com.panamerican.oa2024", rst.DeviceToken, NotificationType.Alert, title, subtitle, body);
|
|
|
+ rst2 = await APNsLib.APNsLib.pushMsg("com.panamerican.oa2024", rst.DeviceToken, NotificationType.Alert, title, subtitle, body);
|
|
|
}
|
|
|
return rst2;
|
|
|
}
|