aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/ServiceController.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/Http/ServiceController.ts')
-rw-r--r--app/Controllers/Http/ServiceController.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/Http/ServiceController.ts b/app/Controllers/Http/ServiceController.ts
index 37a90fa..3ebc246 100644
--- a/app/Controllers/Http/ServiceController.ts
+++ b/app/Controllers/Http/ServiceController.ts
@@ -120,7 +120,7 @@ export default class ServiceController {
120 return response.send(servicesArray); 120 return response.send(servicesArray);
121 } 121 }
122 122
123 public async delete({ params, auth, response }: HttpContextContract) { 123 public async delete({ request, params, auth, response }: HttpContextContract) {
124 // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. 124 // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'.
125 const user = auth.user ?? request.user; 125 const user = auth.user ?? request.user;
126 126