diff options
author | 2022-01-06 23:42:11 +0100 | |
---|---|---|
committer | 2022-01-06 23:42:11 +0100 | |
commit | cd6a573617e85f901a431ebf9216a5c4ca97ed3b (patch) | |
tree | 931cf27a4a6b147932aed19131e3529b27d9f0e3 /src/internal-server/app/Controllers/Http/ServiceController.js | |
parent | 5.6.9-nightly.1 [skip ci] (diff) | |
download | ferdium-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.js | 4 |
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(); |