竞赛接口

dev_sync_trustie
cxt 5 years ago
parent 1339e09552
commit 286184bed4

@ -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

Loading…
Cancel
Save