Browse Source

Remove todo about index on user_id in user_auth because it exists

Sean Lafferty 7 years ago
parent
commit
de338338bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/sqlstore/user_auth.go

+ 1 - 1
pkg/services/sqlstore/user_auth.go

@@ -115,7 +115,7 @@ func GetUserByAuthInfo(query *m.GetUserByAuthInfoQuery) error {
 
 
 func GetAuthInfo(query *m.GetAuthInfoQuery) error {
 func GetAuthInfo(query *m.GetAuthInfoQuery) error {
 	userAuth := &m.UserAuth{
 	userAuth := &m.UserAuth{
-		UserId:     query.UserId, // TODO this doesn't have an index in the db
+		UserId:     query.UserId,
 		AuthModule: query.AuthModule,
 		AuthModule: query.AuthModule,
 		AuthId:     query.AuthId,
 		AuthId:     query.AuthId,
 	}
 	}