Big refactoring for context.User, and how current user info is fetching, now included collaborator role
This commit is contained in:
@@ -39,7 +39,7 @@ func ProxyDataSourceRequest(c *middleware.Context) {
|
||||
|
||||
query := m.GetDataSourceByIdQuery{
|
||||
Id: id,
|
||||
AccountId: c.GetAccountId(),
|
||||
AccountId: c.UsingAccountId,
|
||||
}
|
||||
|
||||
err := bus.Dispatch(&query)
|
||||
|
||||
Reference in New Issue
Block a user