diff options
author | Harshit Bansal <harshitbansal2015@gmail.com> | 2019-01-17 06:09:50 +0530 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-16 19:39:50 -0500 |
commit | 5ac6da3c41f628f31b2805bfc422a3abb6b76d6b (patch) | |
tree | 590734fcb13c5250db894ffa19562f9a5e82b9af /Gopkg.lock | |
parent | 734834a6761d446a6e0dc25a104e8272143f6045 (diff) | |
download | gitea-5ac6da3c41f628f31b2805bfc422a3abb6b76d6b.tar.gz gitea-5ac6da3c41f628f31b2805bfc422a3abb6b76d6b.zip |
api: Add missing GET teams endpoints (#5382)
* api: Add an endpoint to list a particular member of team.
* models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model.
`GetUserTeams()` sounds a bit misnomer since it actually returns
the teams that user belongs to in a given organization rather than
all the teams across all the organization that the user has joined.
* models: Add `GetUserTeams()`.
Returns all the teams that a user belongs to.
* api: Add an endpoint for GET '/user/teams'.
A GET request to this endpoint lists all the teams that a user
belongs to.
Diffstat (limited to 'Gopkg.lock')
-rw-r--r-- | Gopkg.lock | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gopkg.lock b/Gopkg.lock index 88d3567b20..17e4397b15 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -11,11 +11,11 @@ [[projects]] branch = "master" - digest = "1:aed2bc1c4026233af8ad43cab9d9464a0e3b906d3d058d2d6e814f3e1ddfa528" + digest = "1:8a559f110defa54f847a3efa2734297571d960b476699579f2008e4a37b62a1a" name = "code.gitea.io/sdk" packages = ["gitea"] pruneopts = "NUT" - revision = "d95a6e0392218961d1bdd18020290a20bd61b063" + revision = "140e9fcba7583e1c6f22eb57676bb00794ef14a8" [[projects]] digest = "1:3fcef06a1a6561955c94af6c7757a6fa37605eb653f0d06ab960e5bb80092195" |