Skip to content

Commit

Permalink
Fix FCM_TO key
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Dec 14, 2023
1 parent cc88400 commit 0cbc893
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MAILGUN_API_KEY=
MAILGUN_DOMAIN=
SENDGRID_API_KEY=
FCM_SERVICE_ACCOUNT_JSON=
FCM_SERVER_TO=
FCM_TO=
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_TO=
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
FCM_SERVICE_ACCOUNT_JSON: ${{ secrets.FCM_SERVICE_ACCOUNT_JSON }}
FCM_SERVER_TO: ${{ secrets.FCM_SERVER_TO }}
FCM_TO: ${{ secrets.FCM_TO }}
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}
TWILIO_TO: ${{ secrets.TWILIO_TO }}
Expand Down
2 changes: 1 addition & 1 deletion tests/Messaging/Adapter/Push/FCMTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function testSend(): void

$adapter = new FCMAdapter($serverKey);

$to = \getenv('FCM_SERVER_TO');
$to = \getenv('FCM_TO');

$message = new Push(
to: [$to],
Expand Down

0 comments on commit 0cbc893

Please sign in to comment.