mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-10 09:12:51 +01:00
refactor: remove pocketbase (#1138)
This commit is contained in:
17
app/reaction/trigger.go
Normal file
17
app/reaction/trigger.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package reaction
|
||||
|
||||
import (
|
||||
"github.com/go-chi/chi/v5"
|
||||
|
||||
"github.com/SecurityBrewery/catalyst/app/database/sqlc"
|
||||
"github.com/SecurityBrewery/catalyst/app/hook"
|
||||
reactionHook "github.com/SecurityBrewery/catalyst/app/reaction/trigger/hook"
|
||||
"github.com/SecurityBrewery/catalyst/app/reaction/trigger/webhook"
|
||||
)
|
||||
|
||||
func BindHooks(hooks *hook.Hooks, router chi.Router, queries *sqlc.Queries, test bool) error {
|
||||
reactionHook.BindHooks(hooks, queries, test)
|
||||
webhook.BindHooks(router, queries)
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user