app/models/decidim/conferences/conference_invite.rb in decidim-conferences-0.26.10 vs app/models/decidim/conferences/conference_invite.rb in decidim-conferences-0.27.0.rc1

- old
+ new

@@ -4,19 +4,19 @@ module Conferences # The data store for an Invite in the Decidim::Conferences component. class ConferenceInvite < ApplicationRecord include Decidim::Traceable include Decidim::Loggable - include Decidim::DataPortability + include Decidim::DownloadYourData belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference" belongs_to :user, foreign_key: "decidim_user_id", class_name: "Decidim::User" belongs_to :registration_type, foreign_key: "decidim_conference_registration_type_id", class_name: "Decidim::Conferences::RegistrationType" validates :user, uniqueness: { scope: :conference } def self.export_serializer - Decidim::Conferences::DataPortabilityConferenceInviteSerializer + Decidim::Conferences::DownloadYourDataConferenceInviteSerializer end def self.log_presenter_class_for(_log) Decidim::Conferences::AdminLog::InvitePresenter end