Skip to content

Commit 0a2f710

Browse files
authored
Merge pull request #681 from ral-facilities/release/v3.0.1
Release `v3.0.1`
2 parents feca891 + c779ce0 commit 0a2f710

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

inventory_management_system_api/cli/create.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def rule(rule_type: Annotated[RuleType, typer.Argument()]):
189189
if not cont:
190190
exit_with_error("Cancelled")
191191

192-
# Insert the new rule
192+
# Insert the new rule with dst_usasge_status_id
193+
rule_data["dst_usage_status_id"] = CustomObjectId(dst_usage_status.id) if dst_usage_status else None
193194
rules_collection.insert_one(rule_data)
194195
console.print("Success! :party_popper:")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "inventory-management-system-api"
33
description = "Python microservice providing an API for the Inventory Management System."
44
readme = "README.md"
55
requires-python = ">=3.13"
6-
version = "3.0.0"
6+
version = "3.0.1"
77

88
dependencies = [
99
"cryptography",

0 commit comments

Comments
 (0)