]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5697
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 25 Jan 2023 08:51:14 +0000 (09:51 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 25 Jan 2023 08:51:14 +0000 (09:51 +0100)
app/Console/Commands/FluidbookQuote.php

index cac806679f5a1e98b257635c6858b038a57e5591..c282d80d763d884d20d6e40969605fec269ba39f 100644 (file)
@@ -25,7 +25,7 @@ class FluidbookQuote extends CubistCommand
         App::setLocale('fr');
         $nottreated = \App\Models\FluidbookQuote::where('status', '0')->count();
         if ($nottreated > 0 && request()->get('status', null) == null) {
-            Slack::send(User::withoutGlobalScopes()->find('5')->slack/*Slack::fluidbookQuoteChannel*/,
+            Slack::send(Slack::fluidbookQuoteChannel,
                 ':alarm_clock: ' . __('Des demandes de devis n\'ont pas été traitées'),
                 __(':awaiting demandes de devis doivent être confiées à un revendeur ou un chef de projet', ['awaiting' => $nottreated]),
                 [__('Toutes les demandes') => ['url' => backpack_url('fluidbook-quote?status=0')]],