aboutsummaryrefslogtreecommitdiffstats
path: root/modules/context/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/api.go')
-rw-r--r--modules/context/api.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/context/api.go b/modules/context/api.go
index 0b2f81fd64..024ae487f1 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -10,14 +10,13 @@ import (
"net/url"
"strings"
- "github.com/go-macaron/csrf"
-
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
- "gopkg.in/macaron.v1"
+ "gitea.com/macaron/csrf"
+ "gitea.com/macaron/macaron"
)
// APIContext is a specific macaron context for API service