models/migrations: fix update error
This commit is contained in:
		
							parent
							
								
									3db80f2c55
								
							
						
					
					
						commit
						63a73b43b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -289,7 +289,7 @@ func accessRefactor(x *xorm.Engine) (err error) { | |||
| 				return fmt.Errorf("select users from team: %v", err) | ||||
| 			} | ||||
| 			for _, user := range results { | ||||
| 				userID := com.StrTo(user["user_id"]).MustInt64() | ||||
| 				userID := com.StrTo(user["uid"]).MustInt64() | ||||
| 				accessMap[UserRepo{userID, repoID}] = mode | ||||
| 			} | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue