From 53fe03fb2d3fd38a8e128966ef80b207cfc66845 Mon Sep 17 00:00:00 2001 From: Ian Roddis <31021769+iroddis@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:46:30 -0300 Subject: [PATCH] Fixing serialization for manufacturers --- app/models/manufacturer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manufacturer.py b/app/models/manufacturer.py index 907b477..23f29eb 100644 --- a/app/models/manufacturer.py +++ b/app/models/manufacturer.py @@ -8,5 +8,5 @@ class Manufacturer(Base): id: Mapped[int] = mapped_column(primary_key=True) name: Mapped[str] = mapped_column(nullable=False) - url: Mapped[str] = mapped_column(nullable=False) + url: Mapped[str] = mapped_column(nullable=True) logo_url: Mapped[str | None] = mapped_column(nullable=True, default=None)