Save petSizeCategory to pet record on booking creation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -194,6 +194,7 @@ bookRouter.post(
|
||||
species: body.petSpecies,
|
||||
breed: body.petBreed ?? null,
|
||||
coatType: body.petCoatType ?? null,
|
||||
petSizeCategory: body.petSizeCategory ?? null,
|
||||
})
|
||||
.returning();
|
||||
const pet = petInserted[0];
|
||||
|
||||
Reference in New Issue
Block a user