fix(eventEntriesNotification): corrected handler bug
Build and Push Docker image / build-and-push (push) Successful in 2m13s
Details
Build and Push Docker image / build-and-push (push) Successful in 2m13s
Details
This commit is contained in:
parent
aaebaf8b17
commit
7b4c84bdfc
|
@ -65,7 +65,7 @@ func InitEventEntriesNotifier(app *pocketbase.PocketBase, e *core.ServeEvent) er
|
|||
return nil
|
||||
})
|
||||
|
||||
app.OnModelAfterCreate("eventListSlotEntries").Add(func(e *core.ModelEvent) error {
|
||||
app.OnModelAfterUpdate("eventListSlotEntries").Add(func(e *core.ModelEvent) error {
|
||||
// send email notification
|
||||
err := sendEmailNotification(app, e.Model.GetId(), "updated")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue