Skip to content

Commit

Permalink
fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjcumming committed Jan 17, 2025
1 parent 0d29ee2 commit 58f7306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/v0/claim_documents_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def validate_extension(extension)
end
end

def validate_file_size(size)
def validate_min_file_size(size)
unless size.to_i >= PersistentAttachment::MINIMUM_FILE_SIZE
detail = 'File size must not be less than 1.0 KB'
source = 'PersistentAttachment.stamped_pdf_valid?'
Expand Down

0 comments on commit 58f7306

Please sign in to comment.