Skip to content

Commit

Permalink
Fix possible undefined constant when using file schema fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Oct 16, 2024
1 parent 7ee5164 commit 15a5ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marten/schema/field/file.cr
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Marten
@allow_empty_files
end

def deserialize(value) : HTTP::UploadedFile?
def deserialize(value) : Marten::HTTP::UploadedFile?
case value
when HTTP::UploadedFile
value
Expand Down

0 comments on commit 15a5ed8

Please sign in to comment.