Completed
Pull Request — master (#6)
by Travis
05:06 queued 02:46
created
app/Http/Controllers/VotesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         return response()->json([
17 17
             'count' => $snippet->votes->count(),
18
-            'favourited' => (bool) count($changes['attached']),
18
+            'favourited' => (bool) count($changes[ 'attached' ]),
19 19
         ]);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.