Ejemplo n.º 1
0
def set_rank(trailname, url, rank, domain):
    user = helper.get_user()
    org = user.get_org()
    user_id = user.get_user_id()
    db.rankUrl(org, user_id, trailname, url, rank, domain=domain)
    return json.dumps(dict(success=True))
Ejemplo n.º 2
0
def set_rank(team_id,domain_id,trail_id,url,rank):
    user = helper.get_user()
    db.rankUrl(team_id,domain_id,trail_id,user.get_email(),url,rank)
    return json.dumps(dict(success=True))
Ejemplo n.º 3
0
def set_rank(team_id, domain_id, trail_id, url, rank):
    user = helper.get_user()
    db.rankUrl(team_id, domain_id, trail_id, user.get_email(), url, rank)
    return json.dumps(dict(success=True))