change to correct user id

This commit is contained in:
David Schneiderbauer 2018-06-15 14:48:52 +02:00
parent dcd1cba32f
commit edb0169c61
No known key found for this signature in database
GPG Key ID: 576113B2803B3EAB

View File

@ -180,7 +180,7 @@ func (t *Team) removeRepository(e Engine, repo *Repository, recalculate bool) (e
}
// Remove all IssueWatches a user has subscribed to in the repositories
if err := removeIssueWatchersByRepoID(e, teamUser.ID, repo.ID); err != nil {
if err := removeIssueWatchersByRepoID(e, teamUser.UID, repo.ID); err != nil {
return err
}
}