Skip to content

use slug for team name - #134

Merged
h13i32maru merged 1 commit into
jasperapp:masterfrom
mtgto:fix_team_name
Jun 30, 2020
Merged

h13i32maru merged 1 commit into
jasperapp:masterfrom
mtgto:fix_team_name

Conversation

@mtgto

@mtgto mtgto commented Jun 30, 2020

Copy link
Copy Markdown
Contributor

It should use team.slug instead of team.name.

GitHub API uses the team's slug as parameter, which is generated by team's name.
ex. https://developer.github.com/v3/teams/#get-a-team-by-name

For instance, Jasper recognize team name as "foo/bar@baz" if team name is "foo/bar@baz".
But github creates slug as "bar-baz".

@h13i32maru
h13i32maru merged commit ace1aea into jasperapp:master Jun 30, 2020
@h13i32maru

Copy link
Copy Markdown
Member

👍

@mtgto
mtgto deleted the fix_team_name branch July 1, 2020 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants