api/clan: rename 'update_clan_meta' -> 'set_clan_details'

This commit is contained in:
Johannes Kirschbauer
2025-07-07 12:51:32 +02:00
parent 7c4865e8b0
commit e1ea44a2cc
4 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class UpdateOptions:
@API.register
def update_clan_meta(options: UpdateOptions) -> InventorySnapshot:
def set_clan_details(options: UpdateOptions) -> InventorySnapshot:
inventory_store = InventoryStore(options.flake)
inventory = inventory_store.read()
set_value_by_path(inventory, "meta", options.meta)