[PR #1197] [MERGED] fix: direct links for teams are generated wrong #1464

Closed
opened 2026-02-26 19:33:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1197
Author: @ephraimduncan
Created: 6/25/2024
Status: Merged
Merged: 6/26/2024
Merged by: @Mythie

Base: mainHead: fix/wrong-team-direct-link


📝 Commits (1)

  • 51ad6a6 fix: direct links for teams are generated wrong

📊 Changes

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

View changed files

📝 packages/lib/server-only/template/create-document-from-direct-template.ts (+3 -1)

📄 Description

use NEXT_PUBLIC_WEBAPP_URL() for the base URL.

Summary by CodeRabbit

  • Bug Fixes
    • Resolved an issue with document link generation by incorporating the correct base URL, ensuring links are correctly formatted and functional.

🔄 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/documenso/documenso/pull/1197 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 6/25/2024 **Status:** ✅ Merged **Merged:** 6/26/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/wrong-team-direct-link` --- ### 📝 Commits (1) - [`51ad6a6`](https://github.com/documenso/documenso/commit/51ad6a6ff80ec4db89b9ae0e55af7a853c3f1c9c) fix: direct links for teams are generated wrong ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/template/create-document-from-direct-template.ts` (+3 -1) </details> ### 📄 Description use `NEXT_PUBLIC_WEBAPP_URL()` for the base URL. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Resolved an issue with document link generation by incorporating the correct base URL, ensuring links are correctly formatted and functional. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1464
No description provided.