Big refactoring for context.User, and how current user info is fetching, now included collaborator role
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ func Search(c *middleware.Context) {
|
||||
query := m.SearchDashboardsQuery{
|
||||
Title: matches[3],
|
||||
Tag: matches[2],
|
||||
AccountId: c.GetAccountId(),
|
||||
AccountId: c.UsingAccountId,
|
||||
}
|
||||
err := bus.Dispatch(&query)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user