Skip to content

Commit

Permalink
Add note about data-from-URL working on public repos [fixes #55]
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed Jun 4, 2020
1 parent 1b10125 commit 89e3c40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ jobs:
console.log(result)
```

_(Note that this particular example only works for a public URL, where the
diff URL is publicly accessible. Getting the diff for a private URL requires
using the API.)_

This will print the full diff object in the screen; `result.data` will
contain the actual diff text.

Expand Down

0 comments on commit 89e3c40

Please sign in to comment.