diff options
author | 2024-01-14 15:27:41 +0000 | |
---|---|---|
committer | 2024-01-14 15:27:41 +0000 | |
commit | eeb7251e297a2c38b0e1b99e3736efaa85cb5fea (patch) | |
tree | 78f3c42e417f8364b874179b5d55af5880d969fb /app/Controllers/Http/WorkspaceController.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/WorkspaceController.ts')
-rw-r--r-- | app/Controllers/Http/WorkspaceController.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Controllers/Http/WorkspaceController.ts b/app/Controllers/Http/WorkspaceController.ts index 8eba697..70af343 100644 --- a/app/Controllers/Http/WorkspaceController.ts +++ b/app/Controllers/Http/WorkspaceController.ts | |||
@@ -113,7 +113,12 @@ export default class WorkspaceController { | |||
113 | }); | 113 | }); |
114 | } | 114 | } |
115 | 115 | ||
116 | public async delete({ request, response, auth, params }: HttpContextContract) { | 116 | public async delete({ |
117 | request, | ||
118 | response, | ||
119 | auth, | ||
120 | params, | ||
121 | }: HttpContextContract) { | ||
117 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. | 122 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. |
118 | const user = auth.user ?? request.user; | 123 | const user = auth.user ?? request.user; |
119 | 124 | ||