Skip to content

Commit

Permalink
chore: fix style code
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed May 16, 2024
1 parent 9012c30 commit 6b27ec2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions routes/bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
$routePrefix = config('telegram-git-notifier.defaults.route_prefix');

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

Route::prefix('webhook')->name("webhook.")->group(function () {
Route::get('set', [WebhookAction::class, 'set'])->name("set");
Route::get('delete', [WebhookAction::class, 'delete'])->name("delete");
Route::get('info', [WebhookAction::class, 'getWebHookInfo'])->name("info");
Route::get('updates', [WebhookAction::class, 'getUpdates'])->name("updates");
Route::prefix('webhook')->name('webhook.')->group(function () {
Route::get('set', [WebhookAction::class, 'set'])->name('set');
Route::get('delete', [WebhookAction::class, 'delete'])->name('delete');
Route::get('info', [WebhookAction::class, 'getWebHookInfo'])->name('info');
Route::get('updates', [WebhookAction::class, 'getUpdates'])->name('updates');
});
});

0 comments on commit 6b27ec2

Please sign in to comment.