[PR #2048] [MERGED] Fix bug in issue labels API #16201

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2048
Author: @ethantkoenig
Created: 6/24/2017
Status: Merged
Merged: 6/24/2017
Merged by: @lunny

Base: masterHead: fix/issue_labels_api


📝 Commits (1)

  • 0968a3d Fix bug in issue labels API

📊 Changes

3 files changed (+69 additions, -3 deletions)

View changed files

integrations/api_issue_label_test.go (+64 -0)
📝 integrations/integration_test.go (+3 -1)
📝 routers/api/v1/repo/issue_label.go (+2 -2)

📄 Description

Fix bug in POST /repos/:owner/:repo/issues/:index/labels and PUT /repos/:owner/:repo/issues/:index/labels endpoints. Also add integration tests for those endpoints.


🔄 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/2048 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/24/2017 **Status:** ✅ Merged **Merged:** 6/24/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/issue_labels_api` --- ### 📝 Commits (1) - [`0968a3d`](https://github.com/go-gitea/gitea/commit/0968a3d8262d3f4a9d1d70b25ada55cb43afe0e8) Fix bug in issue labels API ### 📊 Changes **3 files changed** (+69 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `integrations/api_issue_label_test.go` (+64 -0) 📝 `integrations/integration_test.go` (+3 -1) 📝 `routers/api/v1/repo/issue_label.go` (+2 -2) </details> ### 📄 Description Fix bug in `POST /repos/:owner/:repo/issues/:index/labels` and `PUT /repos/:owner/:repo/issues/:index/labels` endpoints. Also add integration tests for those endpoints. --- <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:04:35 -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#16201