Skip to content

Commit

Permalink
hotfix(cli) site create error
Browse files Browse the repository at this point in the history
  • Loading branch information
helderbetiol committed Jan 15, 2024
1 parent c2918fd commit 7b76b62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CLI/controllers/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ func (controller Controller) CreateObject(path string, ent int, data map[string]
data["parentId"] = ""
}

case models.SITE:
break

case models.BLDG:
//Check for template
if _, ok := attr["template"]; ok {
Expand Down

0 comments on commit 7b76b62

Please sign in to comment.