diff --git a/app/controllers/api/messaging.php b/app/controllers/api/messaging.php index f2a61cde36..3fc88791c2 100644 --- a/app/controllers/api/messaging.php +++ b/app/controllers/api/messaging.php @@ -476,7 +476,7 @@ App::post('/v1/messaging/providers/fcm') if ( empty($dbForProject->findOne('providers', [ Query::equal('default', [true]), - Query::equal('type', ['pushq']) + Query::equal('type', ['push']) ])) ) { $provider->setAttribute('default', true);