diff options
author | Unknwon <u@gogs.io> | 2017-02-25 03:35:26 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-27 22:48:18 -0500 |
commit | b06f2997489d58cc5a4375044e378c0565ea09d4 (patch) | |
tree | fd02710adc4ed574fe28aa173b2f02ac68bd6568 /routers/repo/repo.go | |
parent | beea014343251fc9f379f996553c0b8030723464 (diff) |
webhook: add fork event
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 496f8e73..8a32f214 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -109,7 +109,7 @@ func CreatePost(ctx *context.Context, f form.CreateRepo) { ctx.Data["Licenses"] = models.Licenses ctx.Data["Readmes"] = models.Readmes - ctxUser := checkContextUser(ctx, f.Uid) + ctxUser := checkContextUser(ctx, f.UserID) if ctx.Written() { return } |