Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vasconsaurus committed Feb 26, 2025
1 parent 09625ae commit d47e1ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/media.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'byebug'

class Media < ApplicationRecord
include AnnotationBase::Association

Expand Down Expand Up @@ -134,8 +132,6 @@ def self.download_file(url, ext)
file
end

# we set it to UploadedImage by default, should we?
# def self.create_with_file(project_media, media_type = 'UploadedImage')
def self.find_or_create_uploaded_file_media(file_media, media_type, additional_args = {})
has_original_claim = additional_args&.fetch(:has_original_claim, nil)
klass = media_type.constantize
Expand Down

0 comments on commit d47e1ef

Please sign in to comment.