예제 #1
0
 def remove_player(pid):
     player = User.get_user_info(pid)
     player.delete_user()
     History.delete_history(userID=player._id)    
예제 #2
0
파일: history.py 프로젝트: mrakhman/matcha
def delete_history():
    if History.delete_history(g.current_user.id):
        return jsonify({"ok": True})
    return jsonify({"ok": False})