chore: fix repo watch (#38921)

This commit is contained in:
wxiaoguang authored and GitHub committed 2026-08-16 03:00:59 +00:00
1 parent 56ad4689ad
commit 5e4d21acd5
26 files changed
+156 -137

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func RemoveOrgUser(ctx context.Context, org *organization.Organization, user *us
if err != nil {
return err
}
if err = repo_model.WatchRepo(ctx, user, repo, false); err != nil {
if err = repo_model.WatchRepoAuto(ctx, user, repo, false); err != nil {
return err
}
}