From c93a63586d438d2186cffdcc1ac2a889e2693881 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 12 Apr 2022 10:13:29 +0200 Subject: [PATCH] auth-backend: resolve context user -> User Signed-off-by: Patrik Oldsberg --- .../src/lib/resolvers/CatalogAuthResolverContext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });