Skip to content

Commit

Permalink
Merge pull request #8 from pxthinh/feature/webhook_1
Browse files Browse the repository at this point in the history
wip: update route and delete comment for action
  • Loading branch information
tanhongit authored Oct 8, 2023
2 parents 3a330db + 7abdf47 commit e6c6b9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 6 additions & 4 deletions routes/bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
| Bot Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| Here is where you can register bot routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
| be assigned to the "bot" middleware group. Make something great!
|
*/

Route::prefix('telegram-git-notifier')->group(function () {
Route::get('/set-webhook', [WebhookAction::class, 'set'])->name('set-webhook');
Route::get('/delete-webhook', [WebhookAction::class, 'delete'])->name('delete-webhook');
Route::prefix('webhook')->group(function () {
Route::get('/set', [WebhookAction::class, 'set'])->name('webhook.set');
Route::get('/delete', [WebhookAction::class, 'delete'])->name('webhook.delete');
});
});
3 changes: 0 additions & 3 deletions src/Http/Actions/WebhookAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

use LbilTech\TelegramGitNotifier\Services\WebhookService;

/**
* Class WebhookAction.
*/
class WebhookAction
{
protected string $token;
Expand Down

0 comments on commit e6c6b9f

Please sign in to comment.