Skip to content

Commit 69e352c

Browse files
authored
🐛 Fix: sync app routes (#105)
1 parent 44394d0 commit 69e352c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

githubkit/auth/_url.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
r"/app/installations/(?:.+?)",
1313
r"/app/installations/(?:.+?)/access_tokens",
1414
r"/app/installations/(?:.+?)/suspended",
15+
r"/app/installation-requests",
1516
r"/marketplace_listing/accounts/(?:.+?)",
1617
r"/marketplace_listing/plan",
1718
r"/marketplace_listing/plans",
@@ -33,7 +34,7 @@
3334
APP_AUTH_REGEX = re.compile(rf"^(?:{'|'.join(APP_ROUTES)})$", re.I)
3435
"""Regex to match app authentication routes.
3536
36-
See: https://github.com/octokit/auth-app.js/blob/c0068e06081a5d930799285a7c79c9c948b676b6/src/requires-app-auth.ts#L45
37+
See: https://github.com/octokit/auth-app.js/blob/9da834e0d8893b4cb233a2e9f67c3183abe8a341/src/requires-app-auth.ts#L46
3738
"""
3839
BASIC_AUTH_REGEX = re.compile(r"/applications/[^/]+/(token|grant)s?")
3940
"""Regex to match basic authentication routes.

0 commit comments

Comments
 (0)