

@classmethod
@postonly
@jsonify
def cancel_notification_by_id(cls, slug):
    game = _get_game(slug)
    _id = request.POST.get('id')
    if (not _id):
        raise BadRequest('No task-id given')
    GameNotificationTaskListManager.cancel_notification_by_id(cls, _id)
    return {
        'ok': True,
    }

dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/controllers/apiv1/gamenotifications.py GamenotificationsController.cancel_notification_by_id/VarMisuse@58/86 `game`->`cls`