aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal-server/app/Controllers/Http/ServiceController.js
diff options
context:
space:
mode:
authorLibravatar kytwb <kytwb@pm.me>2022-01-06 23:42:11 +0100
committerLibravatar kytwb <kytwb@pm.me>2022-01-06 23:42:11 +0100
commitcd6a573617e85f901a431ebf9216a5c4ca97ed3b (patch)
tree931cf27a4a6b147932aed19131e3529b27d9f0e3 /src/internal-server/app/Controllers/Http/ServiceController.js
parent5.6.9-nightly.1 [skip ci] (diff)
downloadferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.tar.gz
ferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.tar.zst
ferdium-app-cd6a573617e85f901a431ebf9216a5c4ca97ed3b.zip
Review recipes routes
Diffstat (limited to 'src/internal-server/app/Controllers/Http/ServiceController.js')
-rw-r--r--src/internal-server/app/Controllers/Http/ServiceController.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/internal-server/app/Controllers/Http/ServiceController.js b/src/internal-server/app/Controllers/Http/ServiceController.js
index 54cc69eb0..e8c94c25f 100644
--- a/src/internal-server/app/Controllers/Http/ServiceController.js
+++ b/src/internal-server/app/Controllers/Http/ServiceController.js
@@ -278,10 +278,6 @@ class ServiceController {
278 return response.send(servicesArray); 278 return response.send(servicesArray);
279 } 279 }
280 280
281 update({ response }) {
282 return response.send([]);
283 }
284
285 async delete({ params, response }) { 281 async delete({ params, response }) {
286 // Update data in database 282 // Update data in database
287 await Service.query().where('serviceId', params.id).delete(); 283 await Service.query().where('serviceId', params.id).delete();