Completed
Push — master ( ffb252...e3f027 )
by CodexShaper
04:15
created
src/Http/Controllers/TemplateController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             if (DBM::Template()->where('name', $field['name'])->first()) {
40 40
                 return response()->json([
41 41
                     'success' => false,
42
-                    'errors'  => [" The template name must be unique. " . $field['name'] . " already exist."],
42
+                    'errors'  => [" The template name must be unique. ".$field['name']." already exist."],
43 43
                 ], 400);
44 44
             }
45 45
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         }
77 77
         return response()->json([
78 78
             'success' => false,
79
-            'errors'  => ['The template '+$request->name . " not found"],
79
+            'errors'  => ['The template '+$request->name." not found"],
80 80
         ], 400);
81 81
     }
82 82
 }
Please login to merge, or discard this patch.