aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private/push_update.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/push_update.go')
-rw-r--r--routers/private/push_update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/push_update.go b/routers/private/push_update.go
index 42eda3178b..d8102cbfbe 100644
--- a/routers/private/push_update.go
+++ b/routers/private/push_update.go
@@ -18,7 +18,7 @@ import (
// PushUpdate update public key updates
func PushUpdate(ctx *macaron.Context) {
- var opt models.PushUpdateOptions
+ var opt repofiles.PushUpdateOptions
if err := json.NewDecoder(ctx.Req.Request.Body).Decode(&opt); err != nil {
ctx.JSON(500, map[string]interface{}{
"err": err.Error(),