diff --git a/src/Http/Controllers/TranslationController.php b/src/Http/Controllers/TranslationController.php index d0763de..69e65ee 100644 --- a/src/Http/Controllers/TranslationController.php +++ b/src/Http/Controllers/TranslationController.php @@ -156,9 +156,10 @@ public function updateMultiPhrase(Translation $translation): JsonResponse continue; } - $phrase = Phrase::where('uuid', $phrase['uuid'])->first(); - $phrase->update([ + $phraseNew = Phrase::where('uuid', $phrase['uuid'])->first(); + + $phraseNew->update([ 'value' => $phrase['value'], ]); }