[backend/core] Fix follow requests getting re-added to the database after they are accepted
This commit is contained in:
parent
95489d3ec1
commit
95c7ff3d54
1 changed files with 0 additions and 1 deletions
|
@ -184,7 +184,6 @@ public class NotificationService(
|
||||||
{
|
{
|
||||||
Id = IdHelpers.GenerateSlowflakeId(),
|
Id = IdHelpers.GenerateSlowflakeId(),
|
||||||
CreatedAt = DateTime.UtcNow,
|
CreatedAt = DateTime.UtcNow,
|
||||||
FollowRequest = followRequest,
|
|
||||||
Notifier = followRequest.Followee,
|
Notifier = followRequest.Followee,
|
||||||
Notifiee = followRequest.Follower,
|
Notifiee = followRequest.Follower,
|
||||||
Type = Notification.NotificationType.FollowRequestAccepted
|
Type = Notification.NotificationType.FollowRequestAccepted
|
||||||
|
|
Loading…
Add table
Reference in a new issue