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.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Controllers/Http/ServiceController.ts b/app/Controllers/Http/ServiceController.ts
index 3ebc246..e58ce33 100644
--- a/app/Controllers/Http/ServiceController.ts
+++ b/app/Controllers/Http/ServiceController.ts
@@ -120,7 +120,12 @@ export default class ServiceController {
120 return response.send(servicesArray); 120 return response.send(servicesArray);
121 } 121 }
122 122
123 public async delete({ request, params, auth, response }: HttpContextContract) { 123 public async delete({
124 request,
125 params,
126 auth,
127 response,
128 }: HttpContextContract) {
124 // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. 129 // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'.
125 const user = auth.user ?? request.user; 130 const user = auth.user ?? request.user;
126 131