[PR #3831] [MERGED] don't reset team/repo count when updating team via API #17103

Closed
opened 2025-11-02 12:26:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3831
Author: @thehowl
Created: 4/22/2018
Status: Merged
Merged: 4/29/2018
Merged by: @lunny

Base: masterHead: fix-3600


📝 Commits (4)

  • 8344253 don't reset team/repo count when updating team via API
  • d7af65f Merge branch 'master' into fix-3600
  • b51d112 Merge branch 'master' into fix-3600
  • b45369e Merge branch 'master' into fix-3600

📊 Changes

1 file changed (+4 additions, -7 deletions)

View changed files

📝 routers/api/v1/org/team.go (+4 -7)

📄 Description

fixes #3600. Previously, we recreated the Team from scratch. We now modify the existing team that we get from ctx.Org.Team.


🔄 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/go-gitea/gitea/pull/3831 **Author:** [@thehowl](https://github.com/thehowl) **Created:** 4/22/2018 **Status:** ✅ Merged **Merged:** 4/29/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix-3600` --- ### 📝 Commits (4) - [`8344253`](https://github.com/go-gitea/gitea/commit/8344253ec1a72b430e41f0ba20f4b5355aa60f69) don't reset team/repo count when updating team via API - [`d7af65f`](https://github.com/go-gitea/gitea/commit/d7af65f899471218a29854ef81677a59a4878b75) Merge branch 'master' into fix-3600 - [`b51d112`](https://github.com/go-gitea/gitea/commit/b51d112addd2dcf669c06b780184da980d882f8f) Merge branch 'master' into fix-3600 - [`b45369e`](https://github.com/go-gitea/gitea/commit/b45369e98cbe52a7caa3d1d108e8db3b2cd103e9) Merge branch 'master' into fix-3600 ### 📊 Changes **1 file changed** (+4 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/org/team.go` (+4 -7) </details> ### 📄 Description fixes #3600. Previously, we recreated the Team from scratch. We now modify the existing team that we get from ctx.Org.Team. --- <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 2025-11-02 12:26:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17103