@@ -39,7 +39,7 @@ discard block |
||
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 |
||
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 | } |