We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70637f commit ad8f0bcCopy full SHA for ad8f0bc
.bin/github.mark_as_read
@@ -12,7 +12,7 @@ if len(sys.argv) < 2: sys.exit(1)
12
13
thread_id = sys.argv[1]
14
15
-token = github.token()
+token = github.token('/notifications')
16
url = github.api('/notifications/threads/{thread_id}', thread_id=thread_id)
17
18
github.patch(url, token=token)
.bin/github.notifications
@@ -9,7 +9,7 @@ import sys
9
import json
10
import github
11
first_page = github.api('/notifications?per_page=100')
for page in github.pages(first_page, token=token):
0 commit comments