Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed May 7, 2024
1 parent 1b68c93 commit e7241be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Moonglade.Core/PostFeature/UpdatePostCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit e7241be

Please sign in to comment.