From d78bb0502e0575f30348e3ba6c3e15c8b7a9966b Mon Sep 17 00:00:00 2001 From: Attila Szabo Date: Wed, 21 Aug 2019 14:25:53 +0200 Subject: [PATCH] Use valid elixir syntax in example response The provided example is not valid elixir code `{ "status": "ok" }`. It should be `%{ "status": "ok" }`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0f00fb..6940201 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ ids = ["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYY {:ok, response} = ExponentServerSdk.PushNotification.get_receipts(ids) # Example Response -{:ok,[ %{ "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX": { "status": "ok" }, "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY": { "status": "ok" } } ]} +{:ok,[ %{ "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX": %{ "status": "ok" }, "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY": %{ "status": "ok" } } ]} ``` The complete format of the messages can be found [here.](https://docs.expo.io/versions/latest/guides/push-notifications#message-format)