diff options
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r-- | routers/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 64f77c2c..54a59acd 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -124,7 +124,7 @@ func ForkPost(ctx *context.Context, f form.CreateRepo) { return } - repo, err := models.ForkRepository(ctxUser, forkRepo, f.RepoName, f.Description) + repo, err := models.ForkRepository(ctx.User, ctxUser, forkRepo, f.RepoName, f.Description) if err != nil { ctx.Data["Err_RepoName"] = true switch { |