aboutsummaryrefslogtreecommitdiff
path: root/internal/route/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/home.go')
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/home.go b/internal/route/home.go
index b1e2cc7a..51c7b54b 100644
--- a/internal/route/home.go
+++ b/internal/route/home.go
@@ -138,7 +138,7 @@ func ExploreUsers(c *context.Context) {
c.Data["PageIsExploreUsers"] = true
RenderUserSearch(c, &UserSearchOptions{
- Type: db.UserIndividual,
+ Type: db.UserTypeIndividual,
Counter: db.CountUsers,
Ranger: db.ListUsers,
PageSize: conf.UI.ExplorePagingNum,
@@ -153,7 +153,7 @@ func ExploreOrganizations(c *context.Context) {
c.Data["PageIsExploreOrganizations"] = true
RenderUserSearch(c, &UserSearchOptions{
- Type: db.UserOrganization,
+ Type: db.UserTypeOrganization,
Counter: db.CountOrganizations,
Ranger: db.Organizations,
PageSize: conf.UI.ExplorePagingNum,