Skip to content

Commit d41750f

Browse files
authored
fix merge
1 parent 5dbc853 commit d41750f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

services/repository/adopt.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ func AdoptRepository(ctx context.Context, doer, owner *user_model.User, opts Cre
103103
if err = repo_model.UpdateRepositoryCols(ctx, repo, "status"); err != nil {
104104
return nil, fmt.Errorf("UpdateRepositoryCols: %w", err)
105105
}
106+
106107
notify_service.AdoptRepository(ctx, doer, owner, repo)
108+
107109
return repo, nil
108110
}
109111

services/repository/create.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ func CreateRepositoryDirectly(ctx context.Context, doer, owner *user_model.User,
267267
}
268268
}()
269269

270-
271270
// No need for init mirror.
272271
if opts.IsMirror {
273272
return repo, nil

0 commit comments

Comments
 (0)