Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
dafcfd70
Commit
dafcfd70
authored
Feb 22, 2019
by
Hugo Häggmark
Committed by
Hugo Häggmark
Feb 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with getting teams for user
parent
425636ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
pkg/api/user.go
+1
-1
No files found.
pkg/api/user.go
View file @
dafcfd70
...
@@ -121,7 +121,7 @@ func GetUserTeams(c *m.ReqContext) Response {
...
@@ -121,7 +121,7 @@ func GetUserTeams(c *m.ReqContext) Response {
return
getUserTeamList
(
c
.
OrgId
,
c
.
ParamsInt64
(
":id"
))
return
getUserTeamList
(
c
.
OrgId
,
c
.
ParamsInt64
(
":id"
))
}
}
func
getUserTeamList
(
userID
int64
,
org
ID
int64
)
Response
{
func
getUserTeamList
(
orgID
int64
,
user
ID
int64
)
Response
{
query
:=
m
.
GetTeamsByUserQuery
{
OrgId
:
orgID
,
UserId
:
userID
}
query
:=
m
.
GetTeamsByUserQuery
{
OrgId
:
orgID
,
UserId
:
userID
}
if
err
:=
bus
.
Dispatch
(
&
query
);
err
!=
nil
{
if
err
:=
bus
.
Dispatch
(
&
query
);
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment