Skip to content

Commit

Permalink
Update SourcePhraseController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MohmmedAshraf committed Feb 13, 2024
1 parent 9b40b57 commit b834d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/SourcePhraseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function create(): Modal
public function store(Request $request): RedirectResponse
{
$request->validate([
'key' => ['required', 'regex:/^[a-zA-Z0-9_.]+$/'],
'key' => ['required', 'regex:/^[\w. ]+$/u'],
'file' => ['required', 'integer', 'exists:ltu_translation_files,id'],
'content' => ['required', 'string'],
]);
Expand Down

0 comments on commit b834d0a

Please sign in to comment.