Skip to content

Commit 4e8076e

Browse files
authored
Update README.md
1 parent 124d314 commit 4e8076e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ It is recommended that you store this token set JSON in a datastore in relation
222222
| access_token: | "xxx.yyy.zzz" | [Bearer token](https://oauth.net/2/jwt/) with a 30 minute expiration required for all API calls |
223223
| expires_in: | 1800 | Time in seconds till the token expires - 1800s is 30m |
224224
| refresh_token: | "XXXXXXX" | Alphanumeric string used to obtain a new Token Set w/ a fresh access_token - 60 day expiry |
225-
| scope: | "email profile openid accounting.transactions offline_access" | The Xero permissions that are embedded in the `access_token` |
225+
| scope: | ["email", "profile", "openid", "accounting.transactions", "offline_access"] | The Xero permissions that are embedded in the `access_token` |
226226

227227
Example Token Set JSON:
228228
```
@@ -232,7 +232,7 @@ Example Token Set JSON:
232232
"expires_in": 1800,
233233
"token_type": "Bearer",
234234
"refresh_token": "xxxxxxxxx",
235-
"scope": [email, profile, openid, accounting.transactions ,offline_access]
235+
"scope": ["email", "profile", "openid", "accounting.transactions", "offline_access"]
236236
}
237237
```
238238

0 commit comments

Comments
 (0)