Skip to content

Commit 0859ceb

Browse files
authored
Update endpoint to use organizationName variable
1 parent 3f9550a commit 0859ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ ${this.results.reduce((x, y) => {
887887
try {
888888
const query = `props.${name}:${value}`
889889
const encodedQuery = encodeURIComponent(query)
890-
const options = this.github.request.endpoint((`/orgs/${this.repo.owner}/properties/values?repository_query=${encodedQuery}`))
890+
const options = this.github.request.endpoint((`/orgs/${organizationName}/properties/values?repository_query=${encodedQuery}`))
891891
return this.github.paginate(options)
892892
} catch (error) {
893893
throw new Error(`Failed to filter repositories for property ${name}: ${error.message}`)

0 commit comments

Comments
 (0)