Skip to content

Commit 4d64d02

Browse files
committed
wip: update route and delete comment for action
1 parent 6115038 commit 4d64d02

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

routes/bot.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*/
1616

1717
Route::prefix('telegram-git-notifier')->group(function () {
18-
Route::get('/set-webhook', [WebhookAction::class, 'set'])->name('set-webhook');
19-
Route::get('/delete-webhook', [WebhookAction::class, 'delete'])->name('delete-webhook');
18+
Route::prefix('webhook')->group(function () {
19+
Route::get('/set', [WebhookAction::class, 'set'])->name('set-webhook');
20+
Route::get('/delete', [WebhookAction::class, 'delete'])->name('delete-webhook');
21+
});
2022
});

src/Http/Actions/WebhookAction.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
use LbilTech\TelegramGitNotifier\Services\WebhookService;
66

7-
/**
8-
* Class WebhookAction.
9-
*/
107
class WebhookAction
118
{
129
protected string $token;

0 commit comments

Comments
 (0)