Skip to content

Commit a392e08

Browse files
committed
Change /api endpoint to /pybot/api to not conflict with pyback
1 parent aede16d commit a392e08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybot/plugins/api/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self):
1717
def load(self, sirbot):
1818
self.session = sirbot.http_session
1919

20-
sirbot.router.add_route("GET", "/api/v1/slack/{resource}", endpoints.slack_api)
20+
sirbot.router.add_route("GET", "/pybot/api/v1/slack/{resource}", endpoints.slack_api)
2121

2222
def on_get(self, request, handler, **kwargs):
2323
if not asyncio.iscoroutinefunction(handler):

0 commit comments

Comments
 (0)