summaryrefslogtreecommitdiff
path: root/internal/api/client
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
commit5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch)
tree40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/api/client
parentfirst implementation of search feature (diff)
parentSearch (#36) (diff)
downloadgotosocial-5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0.tar.xz
Merge branch 'main' of github.com:superseriousbusiness/gotosocial into main
Diffstat (limited to 'internal/api/client')
-rw-r--r--internal/api/client/search/searchget.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/internal/api/client/search/searchget.go b/internal/api/client/search/searchget.go
index 10c1d6193..1e2694673 100644
--- a/internal/api/client/search/searchget.go
+++ b/internal/api/client/search/searchget.go
@@ -128,16 +128,16 @@ func (m *Module) SearchGETHandler(c *gin.Context) {
}
searchQuery := &model.SearchQuery{
- AccountID: accountID,
- MaxID: maxID,
- MinID: minID,
- Type: searchType,
+ AccountID: accountID,
+ MaxID: maxID,
+ MinID: minID,
+ Type: searchType,
ExcludeUnreviewed: excludeUnreviewed,
- Query: query,
- Resolve: resolve,
- Limit: limit,
- Offset: offset,
- Following: following,
+ Query: query,
+ Resolve: resolve,
+ Limit: limit,
+ Offset: offset,
+ Following: following,
}
results, errWithCode := m.processor.SearchGet(authed, searchQuery)