-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix fcm credentials #742
Fix fcm credentials #742
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested an upload but got the following error:
appwrite | [Error] Timestamp: 2024-01-26T17:36:16+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/messaging/providers/fcm
appwrite | [Error] Type: TypeError
appwrite | [Error] Message: {closure}(): Argument #3 ($serviceAccountJSON) must be of type ?array, string given, called in /usr/src/code/vendor/utopia-php/framework/src/App.php on line 531
appwrite | [Error] File: /usr/src/code/app/controllers/api/messaging.php
appwrite | [Error] Line: 619
so either the API needs to be updated or the console does.
@stnguyen90 This was fixed in the API 👍 |
I see. I found the related PR: appwrite/appwrite#7484. |
What does this PR do?
Fix FCM param
serverKey
->serviceAccountJSON
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)