Skip to content

[codex] fix blockchain lab auth typing#121

Merged
Abdulmuiz44 merged 1 commit into
mainfrom
codex/reusable-workflows-citations
Jun 3, 2026
Merged

[codex] fix blockchain lab auth typing#121
Abdulmuiz44 merged 1 commit into
mainfrom
codex/reusable-workflows-citations

Conversation

@Abdulmuiz44
Copy link
Copy Markdown
Collaborator

Summary

This patch removes the incorrect auth(request) calls from the blockchain-lab API routes.

Why

The NextAuth auth() helper in this codebase is parameterless. Passing the request object into it caused TypeScript overload errors in every blockchain-lab route.

What changed

  • Switched the blockchain-lab routes to call auth() with no arguments.
  • Kept the existing request parsing and JSON response logic unchanged.

Validation

  • Ran a targeted type-check filter for app/api/blockchain-lab, which returned no matching TypeScript errors.
  • Ran git diff --check on the touched route files.

@Abdulmuiz44 Abdulmuiz44 marked this pull request as ready for review June 3, 2026 15:36
@Abdulmuiz44 Abdulmuiz44 merged commit 826d956 into main Jun 3, 2026
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.

1 participant