Fix follow activity insertion, impl undo follow
Some checks failed
/ docker (push) Failing after 2m59s
Some checks failed
/ docker (push) Failing after 2m59s
- Follow created a new id instead of using the Id of the activity for the db activity
This commit is contained in:
parent
d84a693b22
commit
e1051e81ac
3 changed files with 225 additions and 133 deletions
|
@ -9,5 +9,5 @@ type UserToUserRelation struct {
|
|||
UserId string
|
||||
TargetUser User // The user Y described in [RelationType]
|
||||
TargetUserId string
|
||||
Relation string `gorm:"type:relation_type"`
|
||||
Relation string // `gorm:"type:relation_type"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue