@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Bus\Queueable; |
| 6 | 6 | use function GuzzleHttp\json_encode; |
| 7 | -use Illuminate\Support\Facades\Config; |
|
| 8 | -use Lab123\AwsSns\Messages\AwsSnsMessage; |
|
| 9 | 7 | use Illuminate\Notifications\Notification; |
| 8 | +use Illuminate\Support\Facades\Config; |
|
| 10 | 9 | use Lab123\AwsSns\Channels\AwsSnsTopicChannel; |
| 10 | +use Lab123\AwsSns\Messages\AwsSnsMessage; |
|
| 11 | 11 | use OwenIt\Auditing\Exceptions\AuditingException; |
| 12 | 12 | |
| 13 | 13 | class AuditSns extends Notification |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Andreshg112\LaravelAuditingNotifications; |
| 4 | 4 | |
| 5 | +use Illuminate\Notifications\Notifiable; |
|
| 5 | 6 | use Illuminate\Support\Arr; |
| 6 | 7 | use OwenIt\Auditing\Contracts\Audit; |
| 7 | -use Illuminate\Notifications\Notifiable; |
|
| 8 | -use OwenIt\Auditing\Contracts\Auditable; |
|
| 9 | 8 | use OwenIt\Auditing\Contracts\AuditDriver; |
| 9 | +use OwenIt\Auditing\Contracts\Auditable; |
|
| 10 | 10 | use OwenIt\Auditing\Exceptions\AuditingException; |
| 11 | 11 | |
| 12 | 12 | class NotificationDriver implements AuditDriver |