Using the --org flag causes a GraphQL permissions error.
🐕 node src/cli.js -o orbitdb -r example-orbitdb-todomvc
Error: Graphql error: {
"data": null,
"errors": [
{
"message": "Your token has not been granted the required scopes to execute this query. The 'name' field requires one of the following scopes: ['read:org'], but your token has only been granted the: ['repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.",
"locations": [
{
"line": 122,
"column": 1
}
]
}
]
}
at parseResponse (/Users/richard/src/name-your-contributors/src/graphql.js:414:11)
at <anonymous>
This works if you use -u instead.
Using the
--orgflag causes a GraphQL permissions error.🐕 node src/cli.js -o orbitdb -r example-orbitdb-todomvc Error: Graphql error: { "data": null, "errors": [ { "message": "Your token has not been granted the required scopes to execute this query. The 'name' field requires one of the following scopes: ['read:org'], but your token has only been granted the: ['repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.", "locations": [ { "line": 122, "column": 1 } ] } ] } at parseResponse (/Users/richard/src/name-your-contributors/src/graphql.js:414:11) at <anonymous>This works if you use
-uinstead.