Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

team members should be an array of Profile, not Team. #61

Open
hirakiuc opened this issue Mar 19, 2016 · 2 comments
Open

team members should be an array of Profile, not Team. #61

hirakiuc opened this issue Mar 19, 2016 · 2 comments
Labels

Comments

@hirakiuc
Copy link
Owner

Tinybucket::Api::TeamApi#members use Tinybucket::Parser::TeamsParser.

So Tinybucket::Model::Team#members return Tinybucket::Model::Team list.

team member should be describe as Profile, not Team.

@hirakiuc hirakiuc added this to the v1.0 milestone Mar 19, 2016
@hirakiuc hirakiuc added the bug label Mar 19, 2016
@hirakiuc
Copy link
Owner Author

Same issues...

  • Team followers should be an array of Profile.
  • Team followings should be an array of Profile.

@hirakiuc
Copy link
Owner Author

It looks like depend on type attribute.

When type is team, the hash describe a Team.
When type is user, the hash describe a Profile.

@hirakiuc hirakiuc modified the milestones: v1.1, v1.0 Mar 21, 2016
@hirakiuc hirakiuc removed this from the v1.1 milestone Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant