Reference atmn login instead of atmn auth#63
Open
TheUntraceable wants to merge 2 commits intouseautumn:nextfrom
Open
Reference atmn login instead of atmn auth#63TheUntraceable wants to merge 2 commits intouseautumn:nextfrom
TheUntraceable wants to merge 2 commits intouseautumn:nextfrom
Conversation
|
@TheUntraceable is attempting to deploy a commit to the Autumn Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates an error message to reference the correct CLI command for authentication. The error message previously instructed users to run atmn auth, but the actual command is atmn login.
Changes:
- Updated error message in
getKey()function to referenceatmn logininstead of the non-existentatmn authcommand
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Updated the missing API key error to reference "atmn login" instead of "atmn auth" to match the current CLI command and reduce confusion. Also removed invalid "hour" and "day" reset intervals from plan validation.
Written for commit fdc9640. Summary will update on new commits.
Greptile Overview
Greptile Summary
Corrected error message to reference the correct CLI authentication command
atmn logininstead of the non-existentatmn authcommand, ensuring consistency with the rest of the codebase.Key Changes:
Confidence Score: 5/5
Important Files Changed
atmn logininstead of non-existentatmn authSequence Diagram
sequenceDiagram participant User participant Application participant KeyManager participant EnvReader User->>Application: Request operation Application->>KeyManager: getKey(environment) KeyManager->>EnvReader: readApiKeys() EnvReader-->>KeyManager: Return available keys KeyManager->>KeyManager: Validate key exists alt Key not found KeyManager-->>Application: Throw authentication error Application-->>User: Show error with login command Note over User: Runs atmn login else Key exists KeyManager-->>Application: Return valid key Application->>Application: Process request end(2/5) Greptile learns from your feedback when you react with thumbs up/down!