🐛 Fix subscriptions wrong fk

This commit is contained in:
LittleSheep 2025-02-15 14:14:30 +08:00
parent d7ed6ee33b
commit 79c34c1225

View File

@ -6,7 +6,6 @@ type Subscription struct {
cruda.BaseModel
FollowerID uint `json:"follower_id"`
Follower Publisher `json:"follower"`
AccountID *uint `json:"account_id,omitempty"`
Account *Publisher `json:"account,omitempty"`
TagID *uint `json:"tag_id,omitempty"`