Skip to content

fix(models): rename TokenResonse to TokenResponse#207

Open
aaryan359 wants to merge 1 commit intofossology:mainfrom
aaryan359:fix/token-response-typo
Open

fix(models): rename TokenResonse to TokenResponse#207
aaryan359 wants to merge 1 commit intofossology:mainfrom
aaryan359:fix/token-response-typo

Conversation

@aaryan359
Copy link
Copy Markdown
Contributor

Changes

  • Fixes a typo in the exported type name TokenResonse — the letter p was missing, the correct name is TokenResponse
  • Updated all usages in pkg/auth/auth.go (2 struct literals and 2 Swagger @Success annotations)
  • Updated variable declarations in tests/auth_test.go and tests/users_comprehensive_test.go
  • Also fixed a leading space in the Swagger description " JWT token""JWT token" on the /refresh-token endpoint

Submitter Checklist

  • Includes tests (if there is a feature changed/added)
  • Includes docs (swagger docs regenerated with corrected type name)
  • I have tested my changes locally.

Signed-off-by: aaryan359 <aaryanmeena96@gmail.com>
@aaryan359 aaryan359 force-pushed the fix/token-response-typo branch from e7523c4 to 355ef97 Compare March 8, 2026 12:33
@aaryan359
Copy link
Copy Markdown
Contributor Author

@deo002, I found this typo in the codebase. I updated this. Does this look good?

Copy link
Copy Markdown
Member

@avinal avinal left a comment

Choose a reason for hiding this comment

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

That is an unfortunate typo. Looks good to me.

@aaryan359
Copy link
Copy Markdown
Contributor Author

Any updates

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