mirror of
https://github.com/hay-kot/homebox.git
synced 2025-06-26 21:58:34 +00:00
fix: prevents re-creating locations and labels when someone joins group (#262)
* closes #258 * remove debug statement
This commit is contained in:
parent
bd06fdafaf
commit
504569bed0
2 changed files with 24 additions and 19 deletions
|
@ -653,7 +653,7 @@ func (e *ItemsRepository) GetAllCustomFieldNames(ctx context.Context, GID uuid.U
|
|||
|
||||
var fields []st
|
||||
|
||||
err := e.db.Debug().Item.Query().
|
||||
err := e.db.Item.Query().
|
||||
Where(
|
||||
item.HasGroupWith(group.ID(GID)),
|
||||
).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue