aboutsummaryrefslogtreecommitdiff
path: root/routes/api/v1/convert
diff options
context:
space:
mode:
Diffstat (limited to 'routes/api/v1/convert')
-rw-r--r--routes/api/v1/convert/convert.go4
-rw-r--r--routes/api/v1/convert/utils.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/routes/api/v1/convert/convert.go b/routes/api/v1/convert/convert.go
index a6ced6fc..767fd7da 100644
--- a/routes/api/v1/convert/convert.go
+++ b/routes/api/v1/convert/convert.go
@@ -7,12 +7,12 @@ package convert
import (
"fmt"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
+ "gogs.io/gogs/models"
)
func ToEmail(email *models.EmailAddress) *api.Email {
diff --git a/routes/api/v1/convert/utils.go b/routes/api/v1/convert/utils.go
index e9326eed..08d6edad 100644
--- a/routes/api/v1/convert/utils.go
+++ b/routes/api/v1/convert/utils.go
@@ -5,7 +5,7 @@
package convert
import (
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/setting"
)
// ToCorrectPageSize makes sure page size is in allowed range.