aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controllers/Http/ServiceController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js
index 309ae09..1dfec49 100644
--- a/app/Controllers/Http/ServiceController.js
+++ b/app/Controllers/Http/ServiceController.js
@@ -20,7 +20,7 @@ class ServiceController {
20 20
21 // Validate user input 21 // Validate user input
22 const validation = await validateAll(request.all(), { 22 const validation = await validateAll(request.all(), {
23 name: 'required|alpha', 23 name: 'required|string',
24 recipeId: 'required', 24 recipeId: 'required',
25 }); 25 });
26 if (validation.fails()) { 26 if (validation.fails()) {