Chore: Firebase Cloud Messaging Support (#858)

This commit is contained in:
Sojan Jose
2020-06-05 00:15:50 +05:30
committed by GitHub
parent e783c3af5d
commit a13a474c23
7 changed files with 59 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class NotificationSubscription < ApplicationRecord
SUBSCRIPTION_TYPES = {
browser_push: 1,
gcm: 2
fcm: 2
}.freeze
enum subscription_type: SUBSCRIPTION_TYPES