From 15a5ed86c871c1800c81f79215a463d5b3e9d591 Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Tue, 15 Oct 2024 21:10:04 -0400 Subject: [PATCH] Fix possible undefined constant when using file schema fields --- src/marten/schema/field/file.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/marten/schema/field/file.cr b/src/marten/schema/field/file.cr index e7e9c7f60..a21ed4bd7 100644 --- a/src/marten/schema/field/file.cr +++ b/src/marten/schema/field/file.cr @@ -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