[PR #1601] [MERGED] fix: create global settings on team creation #1747

Closed
opened 2026-02-26 20:30:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1601
Author: @catalinpit
Created: 1/20/2025
Status: Merged
Merged: 1/28/2025
Merged by: @Mythie

Base: mainHead: fix/team-global-settings-not-created-with-team


📝 Commits (6)

  • 8ef4ad5 fix: create global settings on team creation
  • 44d3968 fix: create global settings on team creation from pending team
  • 2c814b3 Merge branch 'main' into fix/team-global-settings-not-created-with-team
  • 4be6360 Merge branch 'main' into fix/team-global-settings-not-created-with-team
  • 7a2af59 Merge branch 'main' into fix/team-global-settings-not-created-with-team
  • 78615e5 fix: inline use upsert for team global settings

📊 Changes

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

View changed files

📝 packages/lib/server-only/team/create-team.ts (+22 -2)

📄 Description

Description

The global team settings weren't created when creating a new team.

Changes Made

The global team settings are now created when a new team is created.

Checklist

  • I have tested these changes locally and they work as expected.
  • I have added/updated tests that prove the effectiveness of these changes.
  • I have updated the documentation to reflect these changes, if applicable.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

🔄 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/1601 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 1/20/2025 **Status:** ✅ Merged **Merged:** 1/28/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/team-global-settings-not-created-with-team` --- ### 📝 Commits (6) - [`8ef4ad5`](https://github.com/documenso/documenso/commit/8ef4ad5b349e89b90527244e6bf83a236d6d4ff5) fix: create global settings on team creation - [`44d3968`](https://github.com/documenso/documenso/commit/44d396871409314919fab9a6a766c33ce803efcb) fix: create global settings on team creation from pending team - [`2c814b3`](https://github.com/documenso/documenso/commit/2c814b3037becc7155874ea4d1043f3475b08bd3) Merge branch 'main' into fix/team-global-settings-not-created-with-team - [`4be6360`](https://github.com/documenso/documenso/commit/4be636020a25e381bd99a5aae16125dfd411098e) Merge branch 'main' into fix/team-global-settings-not-created-with-team - [`7a2af59`](https://github.com/documenso/documenso/commit/7a2af594740e38cf5ae10aacaa2e93ec1f20ecde) Merge branch 'main' into fix/team-global-settings-not-created-with-team - [`78615e5`](https://github.com/documenso/documenso/commit/78615e58b835ac9207e18f7cd3a669538385abfb) fix: inline use upsert for team global settings ### 📊 Changes **1 file changed** (+22 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/team/create-team.ts` (+22 -2) </details> ### 📄 Description ## Description The global team settings weren't created when creating a new team. ## Changes Made The global team settings are now created when a new team is created. ## Checklist - [x] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [ ] I have updated the documentation to reflect these changes, if applicable. - [x] I have followed the project's coding style guidelines. - [ ] I have addressed the code review feedback from the previous submission, if applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:30:54 +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#1747
No description provided.