Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use private org for location when set #181

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

sutterj
Copy link
Contributor

@sutterj sutterj commented Jun 17, 2024

Pull Request

Proposed Changes

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run npm run lint and fix any linting issues that have been introduced
  • run npm run test and run tests
  • If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from @jeffrey-luszcz

Reviewer

  • Label as either bug, documentation, enhancement, infrastructure, maintenance, or breaking

@sutterj sutterj requested a review from a team as a code owner June 17, 2024 20:51
@github-actions github-actions bot added the fix label Jun 17, 2024
@sutterj sutterj added the bug Something isn't working label Jun 17, 2024
Comment on lines +14 to +28
try {
configApiLogger.info('Fetching config', { ...input })

const config = await getConfig(input.orgId)

configApiLogger.debug('Fetched config', config)

return config
} catch (error) {
configApiLogger.error('Error fetching config', { error })

throw new TRPCError({
code: 'INTERNAL_SERVER_ERROR',
message: (error as Error).message,
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a test for this?

Copy link
Contributor

@ajhenry ajhenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚢

@sutterj sutterj merged commit 222aa42 into main Jun 18, 2024
12 checks passed
@sutterj sutterj deleted the sutterj/org-location branch June 18, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The create/edit mirror dialog shows the wrong organization in "Mirror location"
2 participants