Skip to content

Commit 5e54bba

Browse files
committed
fix: update some routes for webhook
1 parent 4993fb0 commit 5e54bba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routes/bot.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@
2121
Route::prefix('webhook')->group(function () {
2222
Route::get('/set', [WebhookAction::class, 'set'])->name('telegram-git-notifier.webhook.set');
2323
Route::get('/delete', [WebhookAction::class, 'delete'])->name('telegram-git-notifier.webhook.delete');
24+
Route::get('/info', [WebhookAction::class, 'getWebHookInfo'])->name('telegram-git-notifier.webhook.info');
25+
Route::get('/updates', [WebhookAction::class, 'getUpdates'])->name('telegram-git-notifier.webhook.updates');
2426
});
2527
});

0 commit comments

Comments
 (0)