Save petSizeCategory to pet record on booking creation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-20 05:25:59 +00:00
committed by Flea Flicker
parent 3d41820f02
commit b067ba8b85
+1
View File
@@ -194,6 +194,7 @@ bookRouter.post(
species: body.petSpecies, species: body.petSpecies,
breed: body.petBreed ?? null, breed: body.petBreed ?? null,
coatType: body.petCoatType ?? null, coatType: body.petCoatType ?? null,
petSizeCategory: body.petSizeCategory ?? null,
}) })
.returning(); .returning();
const pet = petInserted[0]; const pet = petInserted[0];