Skip to content

Commit dce84c0

Browse files
committed
some update
1 parent 45be999 commit dce84c0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tanhongit/telegram-bot-github-notify",
3-
"description": "A simple Telegram bot to notify Github events",
3+
"description": "A Telegram bot send notify Github events to Telegram channels",
44
"keywords": [
55
"telegram",
66
"bot",
@@ -13,6 +13,7 @@
1313
"github-telegram-bot"
1414
],
1515
"homepage": "https://github.com/tanhongit/telegram-bot-github-notify",
16+
"license": "MIT",
1617
"require": {
1718
"ext-json": "*",
1819
"eleirbag89/telegrambotphp": "^1.4",
@@ -38,5 +39,9 @@
3839
],
3940
"support": {
4041
"issues": "https://github.com/tanhongit/telegram-bot-github-notify/issues"
42+
},
43+
"config": {
44+
"sort-packages": true,
45+
"optimize-autoloader": true
4146
}
4247
}

src/Http/Actions/SetWebhookAction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public function __invoke(): false|string
1313
{
1414
$token = config('telegram-bot.token');
1515
$appUrl = config('app.url');
16-
1716
$url = "https://api.telegram.org/bot{$token}/setWebhook?url={$appUrl}";
1817

1918
return file_get_contents($url);

0 commit comments

Comments
 (0)