Exemple #1
0
def get(team_id):
    """
    Return all members of this team
   [{id: team_id, name:team_name},..]
    """
    return json.dumps(db.getTeamMembers(team_id))
Exemple #2
0
def get(team_id):
    return json.dumps(db.getTeamMembers(team_id))
Exemple #3
0
def get(team_id):
    return json.dumps(db.getTeamMembers(team_id))
Exemple #4
0
def remove_team_member(team_id, email):
    db.removeTeamMember(team_id, email)
    members = db.getTeamMembers(team_id)
    return json.dumps(members)
Exemple #5
0
def add_team_member(team_id, email):
    db.addTeamMember(team_id, email)
    members = db.getTeamMembers(team_id)
    return json.dumps(members)
Exemple #6
0
def remove_team_member(team_id, email):
    db.removeTeamMember(team_id, email)
    members = db.getTeamMembers(team_id)
    return json.dumps(members)
Exemple #7
0
def add_team_member(team_id, email):
    db.addTeamMember(team_id, email)
    members = db.getTeamMembers(team_id)
    return json.dumps(members)