diff --git a/pkg/internal/http/api/insight_api.go b/pkg/internal/http/api/insight_api.go index d11c1c7..2cfcc72 100644 --- a/pkg/internal/http/api/insight_api.go +++ b/pkg/internal/http/api/insight_api.go @@ -63,6 +63,7 @@ func getPostInsight(c *fiber.Ctx) error { if err != nil { return fiber.NewError(fiber.StatusBadRequest, err.Error()) } + marshal.Set(contx, services.GetPostInsightCacheKey(item.ID), response) } return c.JSON(fiber.Map{