Skip to content

Commit b3a405d

Browse files
committed
direct message to telegram by solving facade issue
1 parent 5ae1129 commit b3a405d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TelegramlogsServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function register()
1818

1919
// Register the TelegramMessage service
2020
$this->app->singleton('telegram-message', function () {
21-
return new TelegramMessage;
21+
return new \Uzhlaravel\Telegramlogs\TelegramMessage;
2222
});
2323

2424
// Register the TelegramMessage class
2525
$this->app->singleton(TelegramMessage::class, function () {
26-
return new TelegramMessage;
26+
return new \Uzhlaravel\Telegramlogs\TelegramMessage;
2727
});
2828

2929
}

0 commit comments

Comments
 (0)