A continuation of HomeBox the inventory and organization system built for the Home User
fix: oidc default entities
Matthew Kilgore6b283c5aaf50
diff --git a/backend/internal/core/services/service_user.go b/backend/internal/core/services/service_user.goindex dd1b4262..492e8c10 100644--- a/backend/internal/core/services/service_user.go+++ b/backend/internal/core/services/service_user.go@@ -590,7 +590,10 @@ func (svc *UserService) registerOIDCUser(ctx context.Context, issuer, subject, e// locations only creates the "Location" type, not "Item".if err := ensureDefaultEntityTypes(bootstrapCtx, svc.repos, group.ID); err != nil {recordServiceSpanError(bootstrapSpan, err)+ bootstrapSpan.End()+ recordServiceSpanError(span, err)log.Err(err).Msg("Failed to ensure default entity types")+ return repo.UserOut{}, err}bootstrapSpan.SetAttributes(