From 570884ece6afd2843090422ad1d452e0df1dbdac Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Tue, 5 Jan 2021 11:22:50 +0100 Subject: [PATCH] Fix linting --- .../src/lib/catalog/CatalogIdentityClient.test.ts | 4 ++-- plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.test.ts b/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.test.ts index 0594785760..9d29e68277 100644 --- a/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.test.ts +++ b/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.test.ts @@ -23,10 +23,10 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common'; const server = setupServer(); const mockBaseUrl = 'http://backstage:9191/i-am-a-mock-base'; const discovery: PluginEndpointDiscovery = { - async getBaseUrl(_pluginId) { + async getBaseUrl() { return mockBaseUrl; }, - async getExternalBaseUrl(_pluginId) { + async getExternalBaseUrl() { return mockBaseUrl; }, }; diff --git a/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts b/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts index b746d59cad..f4aa722b2d 100644 --- a/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts +++ b/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts @@ -21,6 +21,7 @@ import { PluginEndpointDiscovery, } from '@backstage/backend-common'; import { UserEntity } from '@backstage/catalog-model'; + type UserQuery = { annotations: Record; };