mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 08:07:33 -04:00 
			
		
		
		
	
						commit
						445898f71e
					
				| @ -56,7 +56,17 @@ class InvoiceWasCreated implements ShouldBroadcast | ||||
|      */ | ||||
|     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\AuthServiceProvider::class, | ||||
|         // App\Providers\BroadcastServiceProvider::class,
 | ||||
|         App\Providers\BroadcastServiceProvider::class, | ||||
|         App\Providers\EventServiceProvider::class, | ||||
|         App\Providers\RouteServiceProvider::class, | ||||
|         App\Providers\ComposerServiceProvider::class, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user