// Add this line after line 228 in cmd/api/main.go authorized.GET("/posts/:id/thread", postHandler.GetPostChain)