mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-15 11:42:57 +01:00
feat: improve python actions (#1083)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user