[backend/core] Fix follow requests getting re-added to the database after they are accepted

This commit is contained in:
Laura Hausmann 2024-04-24 20:39:27 +02:00
parent 95489d3ec1
commit 95c7ff3d54
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -184,7 +184,6 @@ public class NotificationService(
{
Id = IdHelpers.GenerateSlowflakeId(),
CreatedAt = DateTime.UtcNow,
FollowRequest = followRequest,
Notifier = followRequest.Followee,
Notifiee = followRequest.Follower,
Type = Notification.NotificationType.FollowRequestAccepted