Browse Source

chore(stile): rimuove spazi finali superflui

Co-authored-by: Cursor <cursoragent@cursor.com>
marcofalabretti 2 weeks ago
parent
commit
94880aaa1b

+ 1
- 1
app/DataTables/CuponDataTable.php View File

55
                 return $da->isSameDay($a)
55
                 return $da->isSameDay($a)
56
                     ? $da->format('d/m/Y')
56
                     ? $da->format('d/m/Y')
57
                     : $da->format('d/m/Y') . ' - ' . $a->format('d/m/Y');
57
                     : $da->format('d/m/Y') . ' - ' . $a->format('d/m/Y');
58
-            })  
58
+            })
59
             ->addColumn('stato_display', function ($entity) {
59
             ->addColumn('stato_display', function ($entity) {
60
                 return view('cupon.stato', ['stato' => $entity->stato]);
60
                 return view('cupon.stato', ['stato' => $entity->stato]);
61
             })
61
             })

+ 1
- 2
app/Http/Middleware/EndpointTokenMiddleware.php View File

18
     {
18
     {
19
         $statiConsentiti = [Endpoint::ATTIVO, Endpoint::REGISTRATO];
19
         $statiConsentiti = [Endpoint::ATTIVO, Endpoint::REGISTRATO];
20
 
20
 
21
-        
22
         $token = $request->header('token-endpoint');
21
         $token = $request->header('token-endpoint');
23
         if(!$token){
22
         if(!$token){
24
             Log::error('token-endpoint');
23
             Log::error('token-endpoint');
35
 
34
 
36
 
35
 
37
         if (! in_array($endpoint->status, $statiConsentiti, true)) {
36
         if (! in_array($endpoint->status, $statiConsentiti, true)) {
38
-            
37
+
39
             Log::warning('Endpoint non attivo', [
38
             Log::warning('Endpoint non attivo', [
40
                 'endpoint_id' => $endpoint->id,
39
                 'endpoint_id' => $endpoint->id,
41
                 'status' => $endpoint->status,
40
                 'status' => $endpoint->status,

Loading…
Cancel
Save