tanium / octobot

github bot with slack and jira integration
MIT License
25 stars 16 forks source link

fix: remove `{/members}` from members url #351

Closed ysdanielkim closed 11 months ago

ysdanielkim commented 11 months ago

The url from github's teams endpoint is returning with {/members} at the end causing this error:

[2023-07-19 17:29:18,974][139830355396160:runtime-0] - ERROR - Error getting team members: Error looking up team members [https://git.corp.tanium.com/api/v3/organizations/1086/team/525/members{/member}](https://git.corp.tanium.com/api/v3/organizations/1086/team/525/members%7B/member%7D): HTTP s
tatus client error (404 Not Found) for url (https://git.corp.tanium.com/api/v3/organizations/1086/team/525/members%7B/member%7D). Response body: {"message":"Not Found","documentation_url":"https://docs.github/
.com/enterprise-server@3.8/rest"}