[PR #1811] [MERGED] Fix 500 for GET /teams/:id endpoints #16059

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1811
Author: @ethantkoenig
Created: 5/25/2017
Status: Merged
Merged: 5/26/2017
Merged by: @appleboy

Base: masterHead: fix_team_api


📝 Commits (3)

  • 4e775fe Fix 500 for GET /teams/:id endpoints
  • 8adbad2 Integration test for GET /team/:id
  • 1da2e6c Clean up integration test

📊 Changes

3 files changed (+63 additions, -25 deletions)

View changed files

integrations/api_team_test.go (+38 -0)
📝 models/fixtures/user.yml (+24 -24)
📝 routers/api/v1/api.go (+1 -1)

📄 Description

Fixes #1809. Also adds an integration test for the fixed endpoint.


🔄 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/1811 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 5/25/2017 **Status:** ✅ Merged **Merged:** 5/26/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `fix_team_api` --- ### 📝 Commits (3) - [`4e775fe`](https://github.com/go-gitea/gitea/commit/4e775fe06e80ff5d9182e538697c74d71c11c44e) Fix 500 for GET /teams/:id endpoints - [`8adbad2`](https://github.com/go-gitea/gitea/commit/8adbad268df776f04cd5b87a73ba548af91a8f0f) Integration test for GET /team/:id - [`1da2e6c`](https://github.com/go-gitea/gitea/commit/1da2e6c34d17493e4e49478251918b9ac116b2cf) Clean up integration test ### 📊 Changes **3 files changed** (+63 additions, -25 deletions) <details> <summary>View changed files</summary> ➕ `integrations/api_team_test.go` (+38 -0) 📝 `models/fixtures/user.yml` (+24 -24) 📝 `routers/api/v1/api.go` (+1 -1) </details> ### 📄 Description Fixes #1809. Also adds an integration test for the fixed endpoint. --- <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:01: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#16059