You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: create_service.rb
    path of file: ./repos/gitlabhq/app/services/notes
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Notes
  class CreateService < ::Notes::BaseServic
    
    def quick_actions_update_errors(note, params)
      return unless params.present?

      invalid_message = validate_commands(note, params)
      return invalid_message if invalid_message

      service_response = quick_actions_service.apply_updates(params, note)
      note.commands_changes = params
      return if service_response.success?

      service_response.message.join(', ')
    end