Skip to content

Commit edb0169

Browse files
committed
change to correct user id
1 parent dcd1cba commit edb0169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/org_team.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (t *Team) removeRepository(e Engine, repo *Repository, recalculate bool) (e
180180
}
181181

182182
// Remove all IssueWatches a user has subscribed to in the repositories
183-
if err := removeIssueWatchersByRepoID(e, teamUser.ID, repo.ID); err != nil {
183+
if err := removeIssueWatchersByRepoID(e, teamUser.UID, repo.ID); err != nil {
184184
return err
185185
}
186186
}

0 commit comments

Comments
 (0)