Skip to content

Commit

Permalink
fix registration org path
Browse files Browse the repository at this point in the history
  • Loading branch information
arielly-parussulo committed Apr 27, 2023
1 parent 546c395 commit aba939a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62926,11 +62926,11 @@ class Config {
organization: {
url: `https://github.com/${github.context.repo.owner}`,
context: { owner: github.context.repo.owner },
apiPath: `/repos/${github.context.repo.owner}/${github.context.repo.repo}`,
apiPath: `/orgs/${github.context.repo.owner}`
},
repository: {
url: `https://github.com/${github.context.repo.owner}/${github.context.repo.repo}`,
apiPath: `/orgs/${github.context.repo.owner}`,
apiPath: `/repos/${github.context.repo.owner}/${github.context.repo.repo}`,
context: {
owner: github.context.repo.owner,
repo: github.context.repo.repo
Expand Down
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class Config {
organization: {
url: `https://github.com/${github.context.repo.owner}`,
context: { owner: github.context.repo.owner },
apiPath: `/repos/${github.context.repo.owner}/${github.context.repo.repo}`,
apiPath: `/orgs/${github.context.repo.owner}`
},
repository: {
url: `https://github.com/${github.context.repo.owner}/${github.context.repo.repo}`,
apiPath: `/orgs/${github.context.repo.owner}`,
apiPath: `/repos/${github.context.repo.owner}/${github.context.repo.repo}`,
context: {
owner: github.context.repo.owner,
repo: github.context.repo.repo
Expand Down

0 comments on commit aba939a

Please sign in to comment.