feat: improve python actions (#1083)

This commit is contained in:
Jonas Plum
2024-07-21 02:56:43 +02:00
committed by GitHub
parent 81bfbb2072
commit 91429effe2
55 changed files with 1143 additions and 585 deletions

View File

@@ -1,13 +1,13 @@
package reaction
import (
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase"
"github.com/SecurityBrewery/catalyst/reaction/trigger/hook"
"github.com/SecurityBrewery/catalyst/reaction/trigger/webhook"
)
func BindHooks(app core.App) {
hook.BindHooks(app)
webhook.BindHooks(app)
func BindHooks(pb *pocketbase.PocketBase, test bool) {
hook.BindHooks(pb, test)
webhook.BindHooks(pb)
}