fixes notifications & trail recommendations

This commit is contained in:
Christian Beutel
2025-03-17 14:50:28 +01:00
parent d23444c799
commit a214d1052a
5 changed files with 12 additions and 16 deletions

View File

@@ -80,7 +80,7 @@ func SendNotification(app core.App, notification Notification, recipient string)
}
if permissions.Email {
recipientUser, err := app.FindAuthRecordByEmail("users", recipient)
recipientUser, err := app.FindRecordById("users", recipient)
if err != nil {
return err
}