fix: fixed strapi service

This commit is contained in:
2026-02-17 08:18:54 -05:00
parent 2cb578b0d3
commit 7969004d9d

View File

@@ -309,7 +309,7 @@ func (s *StrapiService) GetAllTags(ctx context.Context) ([]repo.Tag, error) {
cached, err := s.cache.Get(ctx, key)
if err == nil {
var tags []repo.Tag
if err := json.Unmarshal([]byte(cached), tags); err == nil {
if err := json.Unmarshal([]byte(cached), &tags); err == nil {
return tags, nil
}
}