update casing
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ import { ConfigReader } from '@backstage/config';
|
||||
|
||||
describe('BitbucketApiReaderProcessor', () => {
|
||||
const createConfig = (
|
||||
userName: string | undefined,
|
||||
username: string | undefined,
|
||||
appPassword: string | undefined,
|
||||
) =>
|
||||
ConfigReader.fromConfigs([
|
||||
@@ -29,7 +29,7 @@ describe('BitbucketApiReaderProcessor', () => {
|
||||
catalog: {
|
||||
processors: {
|
||||
bitbucketApi: {
|
||||
userName: userName,
|
||||
username: username,
|
||||
appPassword: appPassword,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -27,7 +27,7 @@ export class BitbucketApiReaderProcessor implements LocationProcessor {
|
||||
constructor(config: Config) {
|
||||
this.username =
|
||||
(config.getOptional(
|
||||
'catalog.processors.bitbucketApi.userName',
|
||||
'catalog.processors.bitbucketApi.username',
|
||||
) as string) ?? '';
|
||||
this.password =
|
||||
(config.getOptional(
|
||||
|
||||
Reference in New Issue
Block a user