def getRallyPoints(data): return db.getGroups(data["username"], data["groupID"])
def getGroups(data): return db.getGroups(data["username"])
def get_groups(): uuid = request.args.get('uuid') if not uuid: abort(401) else: return (jsonify(db.getGroups(uuid)), 200)