Update package-lock.json with latest dependency versions
Upgraded multiple dependencies across Babel, Emotion, ESLint, and DevExpress packages in `package-lock.json` to their latest versions. These updates ensure compatibility, fix minor issues, and improve overall performance and security.
This commit is contained in:
@ -94,10 +94,9 @@ async def create_or_update_dewar(
|
||||
if puck_event_exists:
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
detail=f"Puck {puck.id} "
|
||||
f"associated with Dewar {existing_dewar.id}"
|
||||
f" has events. "
|
||||
f"Update not allowed.",
|
||||
detail=f"Puck '{puck.puck_name}'"
|
||||
f" (ID: {puck.id}) has associated "
|
||||
f"events and cannot be deleted or replaced.",
|
||||
)
|
||||
|
||||
# Check for associated sample events within each puck
|
||||
@ -110,11 +109,10 @@ async def create_or_update_dewar(
|
||||
if sample_event_exists:
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
detail=f"Sample {sample.id} "
|
||||
f"associated with Puck "
|
||||
f"{puck.id} in Dewar "
|
||||
f"{existing_dewar.id} "
|
||||
f"has events. Update not allowed.",
|
||||
detail=f"Sample '{sample.sample_name}'"
|
||||
f" (ID: {sample.id})"
|
||||
f" within Puck '{puck.puck_name}'"
|
||||
f" has associated events. Update forbidden.",
|
||||
)
|
||||
|
||||
# Delete associated pucks and samples if no events are found
|
||||
|
Reference in New Issue
Block a user