+4
-6
cmd/server/main.go
·········
·········
refactor(server): remove vote service and route registration
Remove vote service initialization and route registration from the
AppView server. Vote endpoints are no longer exposed.
Changes:
- Remove votes package import
- Remove voteService initialization
- Remove RegisterVoteRoutes() call
- Add documentation comment explaining removal
The vote repository is still initialized for Jetstream consumer use,
but no service layer or XRPC endpoints exist.
Vote operations flow:
1. Client → PDS (com.atproto.repo.createRecord)
2. PDS → Jetstream (firehose event)
3. Jetstream → AppView consumer (indexing)
4. AppView DB (aggregated vote counts)
·········
·········