diff options
| author | 2021-05-29 19:45:07 +0200 | |
|---|---|---|
| committer | 2021-05-29 19:45:07 +0200 | |
| commit | 5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch) | |
| tree | 40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/api | |
| parent | first implementation of search feature (diff) | |
| parent | Search (#36) (diff) | |
| download | gotosocial-5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0.tar.xz | |
Merge branch 'main' of github.com:superseriousbusiness/gotosocial into main
Diffstat (limited to 'internal/api')
| -rw-r--r-- | internal/api/client/search/searchget.go | 18 | 
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)  | 
