Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update webhook route - added bot username param #55

Open
tanhongit opened this issue Jan 21, 2024 · 0 comments
Open

Update webhook route - added bot username param #55

tanhongit opened this issue Jan 21, 2024 · 0 comments
Labels
enhancement New feature or request feature request

Comments

@tanhongit
Copy link
Member

Currently, the route used to set webhooks allows receiving events from github and gitlab:

Route::match(['get', 'post'], '/', IndexAction::class)->name("$routePrefix.index");

I need to pass the bot's username to distinguish each individual bot in the upcoming multiple bot feature.

Example: {bot_username} or {username}

And handle the logic to differentiate for each bot.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request feature request
Projects
Status: Todo
Development

No branches or pull requests

1 participant