Skip to content

Commit 5c7564d

Browse files
committed
event servce bypass
1 parent 9c11d74 commit 5c7564d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "i-rocky/laravel-twilio",
33
"description": "Twilio Fax, SMS, MMS, Voice Call recording, receiving, sending support for laravel",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"type": "library",
66
"license": "MIT",
77
"authors": [

src/Providers/LaravelTwilioServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function register()
4242

4343
$this->app->register(RouteServiceProvider::class);
4444

45-
if ($this->app->environment() === 'local') {
45+
if (config('laravel-twilio.env') === 'dev') {
4646
$this->app->register(EventServiceProvider::class);
4747
}
4848

0 commit comments

Comments
 (0)