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,
|
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];
|
||||||
|
|||||||
Reference in New Issue
Block a user