REPP: Forward Registrar ID for domain update action

This commit is contained in:
Karl Erik Õunapuu 2021-02-05 12:53:51 +02:00
parent 9305602c5f
commit 312f199504
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -4,7 +4,7 @@ module Repp
class DomainsController < BaseController # rubocop:disable Metrics/ClassLength
before_action :set_authorized_domain, only: %i[transfer_info destroy]
before_action :validate_registrar_authorization, only: %i[transfer_info destroy]
before_action :forward_registrar_id, only: %i[create destroy]
before_action :forward_registrar_id, only: %i[create update destroy]
before_action :set_domain, only: %i[show update]
api :GET, '/repp/v1/domains'