Skip to content

CHANGE @W-22393694@ - bug fix on org and alias#2064

Merged
nikhil-mittal-165 merged 2 commits into
devfrom
apexguru-bug-fix
Jul 10, 2026
Merged

CHANGE @W-22393694@ - bug fix on org and alias#2064
nikhil-mittal-165 merged 2 commits into
devfrom
apexguru-bug-fix

Conversation

@nikhil-mittal-165

Copy link
Copy Markdown
Contributor

No description provided.

@nikhil-mittal-165 nikhil-mittal-165 changed the title bug fix on org and alias CHANGE @W-22393694@ - bug fix on org and alias Jul 10, 2026

@aruntyagiTutu aruntyagiTutu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good. Clean refactor from deprecated AuthInfo.create({ username }) to the modern Org.create({ aliasOrUsername }) API.

Key observations:

  • Compatibility — Both APIs serve the same validation purpose (org authentication check). The new API is the recommended approach.
  • Testing — All test mocks updated accordingly. The validation behavior is unchanged, just using a better API surface.
  • Minimal scope — Focused PR with no unrelated changes.

The only minor note: the PR body is empty, but the change is straightforward enough that it's not a blocker.

@nikhil-mittal-165
nikhil-mittal-165 merged commit f23e683 into dev Jul 10, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants