[PR #1904] [MERGED] Bug fixes for org member API #16112

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1904
Author: @ethantkoenig
Created: 6/7/2017
Status: Merged
Merged: 6/7/2017
Merged by: @andreynering

Base: masterHead: fix/org_api


📝 Commits (1)

  • f388423 Bug fixes for org member API

📊 Changes

1 file changed (+23 additions, -10 deletions)

View changed files

📝 routers/api/v1/org/member.go (+23 -10)

📄 Description

Account for case where user may be unauthenticated in the GET /orgs/:orgname/members and GET /orgs/:orgname/members/:username endpoints, and add checks for ctx.Written() after calls to GetUserByParams(ctx)


🔄 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/1904 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/7/2017 **Status:** ✅ Merged **Merged:** 6/7/2017 **Merged by:** [@andreynering](https://github.com/andreynering) **Base:** `master` ← **Head:** `fix/org_api` --- ### 📝 Commits (1) - [`f388423`](https://github.com/go-gitea/gitea/commit/f38842320e1c3deef4f5c051c7a1267b87c559d1) Bug fixes for org member API ### 📊 Changes **1 file changed** (+23 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/org/member.go` (+23 -10) </details> ### 📄 Description Account for case where user may be unauthenticated in the `GET /orgs/:orgname/members` and `GET /orgs/:orgname/members/:username` endpoints, and add checks for `ctx.Written()` after calls to `GetUserByParams(ctx)` --- <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:02: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#16112