fix: prevents re-creating locations and labels when someone joins group (#262)

* closes #258

* remove debug statement
This commit is contained in:
Hayden 2023-02-05 12:25:30 -09:00 committed by GitHub
parent bd06fdafaf
commit 504569bed0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 19 deletions

View file

@ -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)),
).