Skip to content

Commit

Permalink
Add GetFiltersV1 to API
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Feb 14, 2024
1 parent b7b653a commit bbb7baa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions register.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func Register[AuthToken toot.ScopesGetter](e *echo.Echo, api toot.API[AuthToken]
single_result(api, e.POST, route.PostFilter_Status, api.PostFilter_Status, scope.PostFilter_Status)
single_result(api, e.GET, route.GetFilter_Status, api.GetFilter_Status, scope.GetFilter_Status)
single_result(api, e.DELETE, route.DeleteFilter_Status, api.DeleteFilter_Status, scope.DeleteFilter_Status)
paged_result(api, e.GET, route.GetFilters_V1, api.GetFilters_V1, scope.GetFilters_V1)

Check failure on line 101 in register.go

View workflow job for this annotation

GitHub Actions / build

cannot infer Input (/home/runner/work/toot-echo/toot-echo/register-private.go:40:48)

Check failure on line 101 in register.go

View workflow job for this annotation

GitHub Actions / build

api.GetFilters_V1 undefined (type toot.API[AuthToken] has no field or method GetFilters_V1)
single_result(api, e.GET, route.GetFilter_V1, api.GetFilter_V1, scope.GetFilter_V1)
single_result(api, e.POST, route.PostFilter_V1, api.PostFilter_V1, scope.PostFilter_V1)
single_result(api, e.PUT, route.PutFilter_V1, api.PutFilter_V1, scope.PutFilter_V1)
Expand Down

0 comments on commit bbb7baa

Please sign in to comment.