Skip to content

Commit

Permalink
Fix bug in webhook registration
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jan 19, 2025
1 parent 7128c65 commit 9ab33ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _embed/templates/registration-webhook/registration.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
schema: {
type:object
properties: {
signup_url: {type:"string", format:"uri", required:true}
portal_url: {type:"string", format:"uri"}
signup_url: {type:"string", format:"url", required:true}
portal_url: {type:"string", format:"url"}
shared_secret: {type:"string", required:true}
}
}
Expand All @@ -22,7 +22,7 @@
]
}
actions: {
view: {do:"redirect-to", url:'{{.Data "signup_url"}}'}
view: {do:"redirect-to", url:'{{.RegistrationData "signup_url"}}'}
confirm: {do:"view-html"}
}
}

0 comments on commit 9ab33ec

Please sign in to comment.