mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 14:07:32 -04:00 
			
		
		
		
	
						commit
						445898f71e
					
				| @ -56,7 +56,17 @@ class InvoiceWasCreated implements ShouldBroadcast | |||||||
|      */ |      */ | ||||||
|     public function broadcastOn() |     public function broadcastOn() | ||||||
|     { |     { | ||||||
|         return new PrivateChannel('channel-name'); |         return ['simple-channel']; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * Get the data to broadcast. | ||||||
|  |      * | ||||||
|  |      * @return array<string, mixed> | ||||||
|  |      */ | ||||||
|  |     public function broadcastWith(): array | ||||||
|  |     { | ||||||
|  |         return ['id' => 'value']; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  | |||||||
| @ -194,7 +194,7 @@ return [ | |||||||
|          */ |          */ | ||||||
|         App\Providers\AppServiceProvider::class, |         App\Providers\AppServiceProvider::class, | ||||||
|         App\Providers\AuthServiceProvider::class, |         App\Providers\AuthServiceProvider::class, | ||||||
|         // App\Providers\BroadcastServiceProvider::class,
 |         App\Providers\BroadcastServiceProvider::class, | ||||||
|         App\Providers\EventServiceProvider::class, |         App\Providers\EventServiceProvider::class, | ||||||
|         App\Providers\RouteServiceProvider::class, |         App\Providers\RouteServiceProvider::class, | ||||||
|         App\Providers\ComposerServiceProvider::class, |         App\Providers\ComposerServiceProvider::class, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user