Skip to content

Commit

Permalink
Fix non-XML MAL import calling input_file_attacher
Browse files Browse the repository at this point in the history
(Fixes SERVER-DT5)
  • Loading branch information
NuckChorris committed Oct 24, 2024
1 parent 7b9cae9 commit 36d6dbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/list_import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def type_is_subclass
errors.add(:type, 'must be a ListImport class') unless in_namespace && is_descendant
end

def input_file
nil
end
# We want these defined to stop confusing JSONAPI-Resources
def input_file = nil
def input_file_attacher = nil

# Apply the ListImport
def apply
Expand Down

0 comments on commit 36d6dbd

Please sign in to comment.