fix: include queue in custom types during install

Use constants.BeadsCustomTypesList() instead of hardcoded list
that was missing the queue type.
This commit is contained in:
Dustin Smith
2026-01-19 20:49:52 +07:00
parent e2bd5ef76c
commit 7421d1554d

View File

@@ -487,7 +487,7 @@ func initTownAgentBeads(townPath string) error {
// bd init doesn't enable "custom" issue types by default, but Gas Town uses
// agent/role beads during install and runtime. Ensure these types are enabled
// before attempting to create any town-level system beads.
if err := ensureBeadsCustomTypes(townPath, []string{"agent", "role", "rig", "convoy", "slot"}); err != nil {
if err := ensureBeadsCustomTypes(townPath, constants.BeadsCustomTypesList()); err != nil {
return err
}