aboutsummaryrefslogtreecommitdiff
path: root/internal/route/api/v1/repo/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/api/v1/repo/hook.go')
-rw-r--r--internal/route/api/v1/repo/hook.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/route/api/v1/repo/hook.go b/internal/route/api/v1/repo/hook.go
index d5730165..6aa3feb5 100644
--- a/internal/route/api/v1/repo/hook.go
+++ b/internal/route/api/v1/repo/hook.go
@@ -7,11 +7,12 @@ package repo
import (
"net/http"
- api "github.com/gogs/go-gogs-client"
- "github.com/json-iterator/go"
+ jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"
"github.com/unknwon/com"
+ api "github.com/gogs/go-gogs-client"
+
"gogs.io/gogs/internal/context"
"gogs.io/gogs/internal/db"
"gogs.io/gogs/internal/route/api/v1/convert"