diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2024-01-14 15:27:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 15:27:41 +0000 |
commit | eeb7251e297a2c38b0e1b99e3736efaa85cb5fea (patch) | |
tree | 78f3c42e417f8364b874179b5d55af5880d969fb /app/Controllers/Http/ServiceController.ts | |
parent | 2.0.5 [skip ci] (diff) | |
download | ferdium-server-eeb7251e297a2c38b0e1b99e3736efaa85cb5fea.tar.gz ferdium-server-eeb7251e297a2c38b0e1b99e3736efaa85cb5fea.tar.zst ferdium-server-eeb7251e297a2c38b0e1b99e3736efaa85cb5fea.zip |
Upgrade node to the latest LTS (20.11.0) and pnpm to the latest (8.14.1) (#93)
* Upgrade node to latest LTS (20.11.0) and pnpm to latest (8.14.1)
* Upgrade node to latest LTS (20.11.0) and pnpm to latest (8.14.1)
* Fix formatting
Diffstat (limited to 'app/Controllers/Http/ServiceController.ts')
-rw-r--r-- | app/Controllers/Http/ServiceController.ts | 7 |
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 | ||