summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/convert
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2016-11-03 13:29:56 +0100
committerAndrey Nering <andrey.nering@gmail.com>2016-11-03 10:29:56 -0200
commit2d68bd1ef98849da54c869b103e93719d1accb5e (patch)
tree8bd932ad547e40cb050fce878bbade6b2ace40e0 /routers/api/v1/convert
parent507ce134fa1450a10f0dfd47fcb19facadbe3ae1 (diff)
downloadgitea-2d68bd1ef98849da54c869b103e93719d1accb5e.tar.gz
gitea-2d68bd1ef98849da54c869b103e93719d1accb5e.zip
Change import reference to match gitea instead of gogs (#37)
Diffstat (limited to 'routers/api/v1/convert')
-rw-r--r--routers/api/v1/convert/convert.go2
-rw-r--r--routers/api/v1/convert/utils.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index fcadb51fd4..49c1941a46 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -12,7 +12,7 @@ import (
"github.com/gogits/git-module"
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
+ "github.com/go-gitea/gitea/models"
)
func ToEmail(email *models.EmailAddress) *api.Email {
diff --git a/routers/api/v1/convert/utils.go b/routers/api/v1/convert/utils.go
index f34fb3d2b6..0062157c84 100644
--- a/routers/api/v1/convert/utils.go
+++ b/routers/api/v1/convert/utils.go
@@ -5,7 +5,7 @@
package convert
import (
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/setting"
)
// ToCorrectPageSize makes sure page size is in allowed range.