feat: add folloers/following list

This commit is contained in:
Krispire Admin
2026-06-09 13:20:14 +05:30
parent 0188a34cf6
commit da2bbc323d
5 changed files with 126 additions and 0 deletions
+2
View File
@@ -709,6 +709,8 @@ func (s *Server) setupRouter() {
r.Use(middleware.OptionalAuth(s.authIssuer, s.userRepo))
r.Get("/{handle}", s.profileH.Get)
r.Get("/{handle}/feed", s.profileH.Feed)
r.Get("/{handle}/followers", s.profileH.Followers)
r.Get("/{handle}/following", s.profileH.Following)
})
// Relationship actions — follow/block/report. All require a