Changeset 0.28.0.2 (#174)
This commit is contained in:
@@ -1185,6 +1185,10 @@ func main() {
|
||||
wfEntry := handlers.NewWorkflowEntryHandler(stores)
|
||||
base.POST("/api/v1/workflow-entry/:scope/:slug", wfEntry.StartVisitor)
|
||||
|
||||
// v0.28.0: Webhook trigger endpoint (token-based auth, no JWT)
|
||||
triggerH := handlers.NewTriggerHandler(stores)
|
||||
base.POST("/api/v1/hooks/t/:token", triggerH.Handle)
|
||||
|
||||
bp := cfg.BasePath
|
||||
if bp == "" {
|
||||
bp = "/"
|
||||
|
||||
Reference in New Issue
Block a user