Skip to content
Permalink
Browse files

fix(stream): valid team name

  • Loading branch information...
h13i32maru committed Mar 21, 2019
1 parent 76a68f2 commit 1b2c4c2e23c913185df8efd55dcbf626574b1b93
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Stream/SystemTeamStream.js
@@ -37,7 +37,7 @@ export default class SystemTeamStream extends Stream {
const response = await client.requestImmediate('/user/teams');
return response.body.map((item)=> {
const org = item.organization.login;
const name = item.name.replace(/[/ ]/g, '-'); // if name includes '/', must replace to '-' in github
const name = item.name.replace(/[/ .]/g, '-'); // if name includes '/', must replace to '-' in github
return `${org}/${name}`;
});
}

0 comments on commit 1b2c4c2

Please sign in to comment.
You can’t perform that action at this time.