|
|
|
@ -29,6 +29,7 @@ json.my_teams @teams.each do |team|
|
|
|
|
|
json.extract! team, :id, :name, :invite_code
|
|
|
|
|
json.team_type team.en_team_type
|
|
|
|
|
json.school_name team.user.school_name
|
|
|
|
|
json.created_at team.created_at.strftime("%Y-%m-%d %H:%M")
|
|
|
|
|
|
|
|
|
|
json.manage_permission current_user.id == team.user_id
|
|
|
|
|
|
|
|
|
|