⬆️ Use faster way to check attachment it exists

This commit is contained in:
2024-05-18 16:59:58 +08:00
parent 827423ae3f
commit 7d36755a72
6 changed files with 17 additions and 15 deletions

View File

@ -36,7 +36,7 @@ type Post struct {
Author Account `json:"author"`
// Dynamic Calculated Values
ReplyCount int64 `json:"comment_count"`
ReplyCount int64 `json:"reply_count"`
ReactionCount int64 `json:"reaction_count"`
ReactionList map[string]int64 `json:"reaction_list" gorm:"-"`
}