From 0a6659ffa7ba4654085629a5f39853c7124fd83c Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Wed, 9 Oct 2024 22:25:15 +0000 Subject: [PATCH] OpenAPI pass correct param name (#52596) --- src/github-apps/scripts/sync.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github-apps/scripts/sync.js b/src/github-apps/scripts/sync.js index c2036a5420e0..22f93b854dcf 100755 --- a/src/github-apps/scripts/sync.js +++ b/src/github-apps/scripts/sync.js @@ -165,7 +165,7 @@ export async function getProgAccessData(progAccessSource, isRest = false) { await readFile(path.join(progAccessSource, progAccessFilepath), 'utf8'), ) progActorResources = await getProgActorResourceContent({ - localDirectory: path.join(progAccessSource, progActorDirectory), + gitHubSourceDirectory: path.join(progAccessSource, progActorDirectory), }) } else { progAccessDataRaw = yaml.load( @@ -242,7 +242,7 @@ function getDisplayTitle(permissionName, progActorResources, isRest = false) { const permissionNameExists = progActorResources[permissionName] if (!permissionNameExists) { console.warn( - `The permission ${permissionName} is missing from config/locales/programmatic_actor_fine_grained_resources.en.yml. Creating a placeholder value of ${tempTitle} until it's added.`, + `The permission ${permissionName} is missing from the definitions in the config/access_control/fine_grained_permissions/programmatic_actor_fine_grained_resources directory. Creating a placeholder value of ${tempTitle} until it's added.`, ) } const title = progActorResources[permissionName]?.title || tempTitle