From 61785ab35a25d7ccec44f67836a259b4e61635a7 Mon Sep 17 00:00:00 2001 From: Prateek Banga Date: Wed, 4 Oct 2023 16:19:05 +0530 Subject: [PATCH] typo fix --- app/controllers/api/messaging.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);