[PR #5103] [MERGED] docs: update import path for createAuth in convex.mdx #14024

Closed
opened 2026-04-13 09:16:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5103
Author: @rodrigosdev
Created: 10/5/2025
Status: Merged
Merged: 10/6/2025
Merged by: @himself65

Base: canaryHead: canary


📝 Commits (2)

  • afe9d1b Update import path for createAuth in convex.mdx
  • c22535b Merge branch 'canary' into canary

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/content/docs/integrations/convex.mdx (+2 -2)

📄 Description

This pull request updates the import path for the createAuth function in the Convex integration documentation to ensure it references the correct local module.

  • Documentation update:
    • Changed the import path for createAuth from "convex/auth" to "@/convex/auth" in src/lib/auth-server.ts to match the project's directory structure.

Matches the import in https://convex-better-auth.netlify.app/framework-guides/next

Screenshot 2025-10-05 at 22 23 30

Summary by cubic

Updated the Convex integration docs to use the correct local import for createAuth (@/convex/auth) instead of convex/auth. This aligns the example with our Next.js app structure and prevents copy-paste import errors.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5103 **Author:** [@rodrigosdev](https://github.com/rodrigosdev) **Created:** 10/5/2025 **Status:** ✅ Merged **Merged:** 10/6/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (2) - [`afe9d1b`](https://github.com/better-auth/better-auth/commit/afe9d1b620eb4815a070640d75ebc307b5acd299) Update import path for createAuth in convex.mdx - [`c22535b`](https://github.com/better-auth/better-auth/commit/c22535b574e381cd284c49155390ec3a3852753b) Merge branch 'canary' into canary ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/convex.mdx` (+2 -2) </details> ### 📄 Description This pull request updates the import path for the `createAuth` function in the Convex integration documentation to ensure it references the correct local module. * Documentation update: * Changed the import path for `createAuth` from `"convex/auth"` to `"@/convex/auth"` in `src/lib/auth-server.ts` to match the project's directory structure. Matches the import in https://convex-better-auth.netlify.app/framework-guides/next <img width="884" height="202" alt="Screenshot 2025-10-05 at 22 23 30" src="https://github.com/user-attachments/assets/4d13a734-02c5-4eb1-b747-e512dbb644a5" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the Convex integration docs to use the correct local import for createAuth (`@/convex/auth`) instead of `convex/auth`. This aligns the example with our Next.js app structure and prevents copy-paste import errors. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 09:16:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14024