gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Organization is null from GET team API

Open arnWolff opened this issue 3 years ago • 0 comments

Description

When i call API endpoint /api/v1/teams/{id}, the organization property is null. I would expect it to return Oraganization entity as value. Same result if called from an Admin account or user member of this team.

Is this expected behaviour?

I cannot reproduce this issue on official website because i cannot create organization there.

Gitea Version

1.16.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Ubuntu Server 20.04

How are you running Gitea?

Running Gitea on local server.

Database

SQLite

arnWolff avatar Jul 18 '22 09:07 arnWolff