Add debug log to GetPost handler to track API calls

This commit is contained in:
Patrick Britton 2026-02-01 00:05:52 -06:00
parent a09a2844a2
commit 0f0321aee1

View file

@ -295,6 +295,7 @@ func (h *PostHandler) GetProfilePosts(c *gin.Context) {
}
func (h *PostHandler) GetPost(c *gin.Context) {
log.Error().Msg("=== DEBUG: GetPost handler called ===")
postID := c.Param("id")
userIDStr, _ := c.Get("user_id")