Browse Source

'word' => trim($value)

visuddhinanda 9 months ago
parent
commit
4dd3cac07a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api-v8/app/Console/Commands/CreateMyHanCrop.php

+ 1 - 1
api-v8/app/Console/Commands/CreateMyHanCrop.php

@@ -86,7 +86,7 @@ class CreateMyHanCrop extends Command
             foreach ($words as $key => $value) {
                 $wordWithIndex[] = [
                     'index' => $key + 1,
-                    'word' => $value,
+                    'word' => trim($value),
                 ];
             }
             $data = [