aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/repos.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-24 01:08:22 +0800
committerUnknwon <u@gogs.io>2016-07-24 01:08:22 +0800
commit1f2e173a745da8e4b57f96b5561a3c10054d3b76 (patch)
tree367f0f07e4fe1269ac0772e0561a4bf912b5153c /routers/admin/repos.go
parent46e96c008cf966428c9dad71c7871de88186e3fe (diff)
Refactor User.Id to User.ID
Diffstat (limited to 'routers/admin/repos.go')
-rw-r--r--routers/admin/repos.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go
index dc259c63..5eacb5ed 100644
--- a/routers/admin/repos.go
+++ b/routers/admin/repos.go
@@ -39,7 +39,7 @@ func DeleteRepo(ctx *context.Context) {
return
}
- if err := models.DeleteRepository(repo.MustOwner().Id, repo.ID); err != nil {
+ if err := models.DeleteRepository(repo.MustOwner().ID, repo.ID); err != nil {
ctx.Handle(500, "DeleteRepository", err)
return
}