Add debug log to GetPost handler to track API calls
This commit is contained in:
parent
a09a2844a2
commit
0f0321aee1
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue