summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/user')
-rw-r--r--routers/api/v1/user/app.go6
-rw-r--r--routers/api/v1/user/email.go10
-rw-r--r--routers/api/v1/user/follower.go6
-rw-r--r--routers/api/v1/user/key.go12
-rw-r--r--routers/api/v1/user/user.go6
5 files changed, 20 insertions, 20 deletions
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go
index 0e8081f5f4..a822bd3185 100644
--- a/routers/api/v1/user/app.go
+++ b/routers/api/v1/user/app.go
@@ -5,10 +5,10 @@
package user
import (
- api "github.com/go-gitea/go-sdk/gitea"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/context"
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/context"
)
// https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user
diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go
index 1667ee5984..e5519e7e2f 100644
--- a/routers/api/v1/user/email.go
+++ b/routers/api/v1/user/email.go
@@ -5,12 +5,12 @@
package user
import (
- api "github.com/go-gitea/go-sdk/gitea"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/context"
- "github.com/go-gitea/gitea/modules/setting"
- "github.com/go-gitea/gitea/routers/api/v1/convert"
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/context"
+ "code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/routers/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user
diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go
index 661bdcbcef..c738dc9a73 100644
--- a/routers/api/v1/user/follower.go
+++ b/routers/api/v1/user/follower.go
@@ -5,10 +5,10 @@
package user
import (
- api "github.com/go-gitea/go-sdk/gitea"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/context"
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/context"
)
func responseApiUsers(ctx *context.APIContext, users []*models.User) {
diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go
index 316ebb65c9..35f176a24c 100644
--- a/routers/api/v1/user/key.go
+++ b/routers/api/v1/user/key.go
@@ -5,13 +5,13 @@
package user
import (
- api "github.com/go-gitea/go-sdk/gitea"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/context"
- "github.com/go-gitea/gitea/modules/setting"
- "github.com/go-gitea/gitea/routers/api/v1/convert"
- "github.com/go-gitea/gitea/routers/api/v1/repo"
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/context"
+ "code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/routers/api/v1/convert"
+ "code.gitea.io/gitea/routers/api/v1/repo"
)
func GetUserByParamsName(ctx *context.APIContext, name string) *models.User {
diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go
index 92ad7c81e5..7fa5126773 100644
--- a/routers/api/v1/user/user.go
+++ b/routers/api/v1/user/user.go
@@ -7,10 +7,10 @@ package user
import (
"github.com/Unknwon/com"
- api "github.com/go-gitea/go-sdk/gitea"
+ api "code.gitea.io/go-sdk/gitea"
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/context"
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/context"
)
func Search(ctx *context.APIContext) {