[PR #785] [CLOSED] fix: properly respond when no tenant linked to current account #22686

Closed
opened 2026-02-21 20:19:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/785
Author: @MatriQ
Created: 8/9/2023
Status: Closed

Base: mainHead: fix/properly-return-for-no-workspaces


📝 Commits (1)

  • 14d649a fix: properly respond when no tenant liked to current account

📊 Changes

5 files changed (+16 additions, -2 deletions)

View changed files

📝 api/controllers/console/explore/installed_app.py (+3 -0)
📝 api/controllers/console/explore/recommended_app.py (+3 -0)
📝 api/controllers/console/workspace/members.py (+5 -1)
📝 api/controllers/console/workspace/workspace.py (+2 -0)
📝 api/models/account.py (+3 -1)

📄 Description

Fix 500 response when no tenant is linked to the current account.


🔄 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/langgenius/dify/pull/785 **Author:** [@MatriQ](https://github.com/MatriQ) **Created:** 8/9/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/properly-return-for-no-workspaces` --- ### 📝 Commits (1) - [`14d649a`](https://github.com/langgenius/dify/commit/14d649a36b051e15700d4b738d371f99362d36b3) fix: properly respond when no tenant liked to current account ### 📊 Changes **5 files changed** (+16 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/explore/installed_app.py` (+3 -0) 📝 `api/controllers/console/explore/recommended_app.py` (+3 -0) 📝 `api/controllers/console/workspace/members.py` (+5 -1) 📝 `api/controllers/console/workspace/workspace.py` (+2 -0) 📝 `api/models/account.py` (+3 -1) </details> ### 📄 Description Fix 500 response when no tenant is linked to the current account. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:19:31 -05:00
yindo closed this issue 2026-02-21 20:19:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22686