UPDATE: Fix bug cache
All checks were successful
Build and Release / release (push) Successful in 1m31s

This commit is contained in:
2026-05-19 16:49:13 +07:00
parent 111a884574
commit 9cd244df12
4 changed files with 8 additions and 2 deletions

View File

@@ -165,6 +165,8 @@ func (r *mediaRepository) Create(ctx context.Context, params sqlc.CreateMediaPar
_ = r.c.DelByPattern(bgCtx, "media:count*")
}()
_ = r.c.Del(ctx, fmt.Sprintf("media:userId:%s", convert.UUIDToString(params.UserID)))
media := models.MediaEntity{
ID: convert.UUIDToString(row.ID),
UserID: convert.UUIDToString(row.UserID),