-
Notifications
You must be signed in to change notification settings - Fork 6
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 gcp format #198
Fix gcp format #198
Conversation
@@ -397,7 +397,7 @@ mod tests { | |||
"amount": "200", | |||
"type": "cis2-tx", | |||
"token_id": "ffffff", | |||
"contract_address": {"index": 3, "subindex": 0}, | |||
"contract_address": "{\"index\":3,\"subindex\":0}", |
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.
Lame... but if that's what it has to be, I guess there's no way around it 🤷
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.
Wasn't it you who suggested using JSON for contract address? :)
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.
yes but I would assume the whole request being JSON would be sufficient 😛
Purpose
https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#Message
Data only allows for String and String.
This means we need to take ownership of some of the types
Changes
Changed serialisation for those fields which did not return a string
Checklist
hard-to-understand areas.