Update search to use v2 API endpoint

v1 has been disabled on most instances by now.
The change is minor: hash-tags are now reported as proper structs
instead of a simple string-array.
This commit is contained in:
Christian Muehlhaeuser 2020-03-01 12:18:26 +01:00 committed by mattn
parent 021f5d0019
commit 75578dd249
5 changed files with 9 additions and 9 deletions

View file

@ -118,7 +118,7 @@ func main() {
* [x] DELETE /api/v1/push/subscription
* [x] GET /api/v1/reports
* [x] POST /api/v1/reports
* [x] GET /api/v1/search
* [x] GET /api/v2/search
* [x] GET /api/v1/statuses/:id
* [x] GET /api/v1/statuses/:id/context
* [x] GET /api/v1/statuses/:id/card