diff --git a/plugins/auth-backend/src/lib/resolvers/CatalogAuthResolverContext.ts b/plugins/auth-backend/src/lib/resolvers/CatalogAuthResolverContext.ts index a55bf0789a..28bc066d10 100644 --- a/plugins/auth-backend/src/lib/resolvers/CatalogAuthResolverContext.ts +++ b/plugins/auth-backend/src/lib/resolvers/CatalogAuthResolverContext.ts @@ -90,7 +90,7 @@ export class CatalogAuthResolverContext implements AuthResolverContext { if ('entityRef' in query) { const entityRef = parseEntityRef(query.entityRef, { - defaultKind: 'user', + defaultKind: 'User', defaultNamespace: DEFAULT_NAMESPACE, }); result = await this.catalogApi.getEntityByRef(entityRef, { token });