[backend] Fix note bite notifications
This commit is contained in:
parent
3218de9f56
commit
fbbc50e158
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ public class NotificationService(
|
|||
Notifiee = (bite.TargetUser ?? bite.TargetNote?.User ?? bite.TargetBite?.User) ??
|
||||
throw new InvalidOperationException("Null checks say one of these must not be null"),
|
||||
Notifier = bite.User,
|
||||
Note = bite.TargetNote,
|
||||
Bite = bite,
|
||||
Type = Notification.NotificationType.Bite
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue