diff --git a/src/Moonglade.Core/PostFeature/UpdatePostCommand.cs b/src/Moonglade.Core/PostFeature/UpdatePostCommand.cs index 3959822ef..52154f521 100644 --- a/src/Moonglade.Core/PostFeature/UpdatePostCommand.cs +++ b/src/Moonglade.Core/PostFeature/UpdatePostCommand.cs @@ -149,7 +149,7 @@ await _tagRepo.AddAsync(new() await _postRepo.UpdateAsync(post, ct); - _cache.Remove(BlogCachePartition.Post.ToString(), guid.ToString()); + _cache.Remove(BlogCachePartition.Post.ToString(), checkSum.ToString()); return post; } }