forked from open-webui/open-webui
refac: post webhook
This commit is contained in:
parent
2481e48a3a
commit
fa65be2ad2
2 changed files with 12 additions and 2 deletions
|
@ -159,6 +159,7 @@ async def signup(request: Request, form_data: SignupForm):
|
|||
if request.app.state.WEBHOOK_URL:
|
||||
post_webhook(
|
||||
request.app.state.WEBHOOK_URL,
|
||||
WEBHOOK_MESSAGES.USER_SIGNUP(user.name),
|
||||
{
|
||||
"action": "signup",
|
||||
"message": WEBHOOK_MESSAGES.USER_SIGNUP(user.name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue