def METHOD_NAME(self, request):
    from apps.slack.models import SlackChannel
    organization = request.auth.organization
    slack_team_identity = organization.slack_team_identity
    slack_channel_id = request.data["id"]
    slack_channel = SlackChannel.objects.get(
        public_primary_key=slack_channel_id, slack_team_identity=slack_team_identity
    )
    organization.set_general_log_channel(slack_channel.slack_id, slack_channel.name, request.user)
    return Response(status=200)