fix firmwarschema serialize? maybe…? mew?

This commit is contained in:
Laura Klünder 2023-11-30 23:04:03 +01:00
parent faad19f5a5
commit 5208db4c67

View file

@ -40,7 +40,7 @@ class FirmwareBuildSchema(Schema):
example="/media/firmware/012345/firmware.bin",
description="download URL for the build binary",
) # todo: downlaod differently?
boards: set[BoardType] = APIField(
boards: list[BoardType] = APIField(
description="set of boards that this build is compatible with",
example={BoardType.C3NAV_LOCATION_PCB_REV_0_2.name, }
)