review changes
This commit is contained in:
parent
fd4a81c4fc
commit
887eeef585
1 changed files with 2 additions and 2 deletions
|
@ -448,7 +448,7 @@ App::post('/v1/messaging/providers/fcm')
|
|||
->param('serverKey', '', new Text(0), 'FCM server key.')
|
||||
->inject('dbForProject')
|
||||
->inject('response')
|
||||
->action(function (string $providerId, string $name, bool $default, bool $enabled, string $serverKey, Database $dbForProject, Response $response) {
|
||||
->action(function (string $providerId, string $name, bool $enabled, string $serverKey, Database $dbForProject, Response $response) {
|
||||
$providerId = $providerId == 'unique()' ? ID::unique() : $providerId;
|
||||
$provider = new Document([
|
||||
'$id' => $providerId,
|
||||
|
@ -506,7 +506,7 @@ App::post('/v1/messaging/providers/apns')
|
|||
->param('endpoint', '', new Text(0), 'APNS endpoint.')
|
||||
->inject('dbForProject')
|
||||
->inject('response')
|
||||
->action(function (string $providerId, string $name, bool $default, bool $enabled, string $authKey, string $authKeyId, string $teamId, string $bundleId, string $endpoint, Database $dbForProject, Response $response) {
|
||||
->action(function (string $providerId, string $name, bool $enabled, string $authKey, string $authKeyId, string $teamId, string $bundleId, string $endpoint, Database $dbForProject, Response $response) {
|
||||
$providerId = $providerId == 'unique()' ? ID::unique() : $providerId;
|
||||
$provider = new Document([
|
||||
'$id' => $providerId,
|
||||
|
|
Loading…
Reference in a new issue