fork of indigo with slightly nicer lexgen

bypass subscribe limits in /admin/pds/requestCrawl (#1080)

`handleComAtprotoSyncRequestCrawl` should pass its boolean `admin` flag
to `SubscribeToHost`, to let it bypass the daily new host limit when run
as admin. Currently it just always passes `false`. The result is that
when calling `goat relay admin host add` or the
`/admin/pds/requestCrawl` endpoint, you get a "500 new host
subscriptions temporarily disabled" error in response.

authored by bnewbold.net and committed by GitHub f8de501b 903575f7

Changed files
+1 -1
cmd
relay
+1 -1
cmd/relay/handlers.go
··· 65 65 } 66 66 go s.ForwardSiblingRequest(c, b) 67 67 68 - return s.relay.SubscribeToHost(ctx, hostname, noSSL, false) 68 + return s.relay.SubscribeToHost(ctx, hostname, noSSL, admin) 69 69 } 70 70 71 71 func (s *Service) handleComAtprotoSyncListHosts(c echo.Context, cursor int64, limit int) (*comatproto.SyncListHosts_Output, error) {