aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controllers/Http/ServiceController.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js
index 4a4a8c4..90055b6 100644
--- a/app/Controllers/Http/ServiceController.js
+++ b/app/Controllers/Http/ServiceController.js
@@ -179,17 +179,6 @@ class ServiceController {
179 }); 179 });
180 } else { 180 } else {
181 // Update service info 181 // Update service info
182 const validation = await validateAll(request.all(), {
183 name: 'required',
184 });
185 if (validation.fails()) {
186 return response.status(401).send({
187 message: 'Invalid POST arguments',
188 messages: validation.messages(),
189 status: 401,
190 });
191 }
192
193 const data = request.all(); 182 const data = request.all();
194 const { 183 const {
195 id, 184 id,