🐛 Bug fixes on notification badges for APNs
This commit is contained in:
		@@ -113,7 +113,6 @@ func PushNotification(notification models.Notification) error {
 | 
			
		||||
					NewPayload().
 | 
			
		||||
					AlertTitle(notification.Subject).
 | 
			
		||||
					AlertBody(notification.Content).
 | 
			
		||||
					Badge(1).
 | 
			
		||||
					MarshalJSON()
 | 
			
		||||
				if err != nil {
 | 
			
		||||
					log.Warn().Err(err).Msg("An error occurred when preparing to notify subscriber via APNs...")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user