fix: tests type errors

This commit is contained in:
sjdonado
2025-11-02 10:16:19 +01:00
parent 6e587f0176
commit aec073b696
5 changed files with 40 additions and 36 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module App::Lib
missing_fields = required_fields.reject { |field| json_params.has_key?(field) }
unless missing_fields.empty?
error_message = missing_fields.join(", ") + " required"
error_message = "#{missing_fields.first}: Required field"
raise App::BadRequestException.new(@env, error_message)
end