diff options
author | André Oliveira <oliveira.andrerodrigues95@gmail.com> | 2023-10-13 18:48:51 +0100 |
---|---|---|
committer | André Oliveira <oliveira.andrerodrigues95@gmail.com> | 2023-10-13 18:48:51 +0100 |
commit | 8376ec924bc33cae3462f48fd7d1a3d61ef97c1d (patch) | |
tree | 17544529048aa343b184a5fbd30f40bb7d3d06ca | |
parent | fix: path of recipes (diff) | |
download | ferdium-server-8376ec924bc33cae3462f48fd7d1a3d61ef97c1d.tar.gz ferdium-server-8376ec924bc33cae3462f48fd7d1a3d61ef97c1d.tar.zst ferdium-server-8376ec924bc33cae3462f48fd7d1a3d61ef97c1d.zip |
hotfix: workspace and service class name
-rw-r--r-- | app/Controllers/Http/ServiceController.ts | 2 | ||||
-rw-r--r-- | app/Controllers/Http/WorkspaceController.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/Http/ServiceController.ts b/app/Controllers/Http/ServiceController.ts index 36c6ca4..37a90fa 100644 --- a/app/Controllers/Http/ServiceController.ts +++ b/app/Controllers/Http/ServiceController.ts | |||
@@ -13,7 +13,7 @@ const createSchema = schema.create({ | |||
13 | recipeId: schema.string(), | 13 | recipeId: schema.string(), |
14 | }); | 14 | }); |
15 | 15 | ||
16 | export default class ServicesController { | 16 | export default class ServiceController { |
17 | // Create a new service for user | 17 | // Create a new service for user |
18 | public async create({ request, response, auth }: HttpContextContract) { | 18 | public async create({ request, response, auth }: HttpContextContract) { |
19 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. | 19 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. |
diff --git a/app/Controllers/Http/WorkspaceController.ts b/app/Controllers/Http/WorkspaceController.ts index 4dff4df..d197227 100644 --- a/app/Controllers/Http/WorkspaceController.ts +++ b/app/Controllers/Http/WorkspaceController.ts | |||
@@ -15,7 +15,7 @@ const deleteSchema = schema.create({ | |||
15 | id: schema.string(), | 15 | id: schema.string(), |
16 | }); | 16 | }); |
17 | 17 | ||
18 | export default class WorkspacesController { | 18 | export default class WorkspaceController { |
19 | // Create a new workspace for user | 19 | // Create a new workspace for user |
20 | public async create({ request, response, auth }: HttpContextContract) { | 20 | public async create({ request, response, auth }: HttpContextContract) { |
21 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. | 21 | // @ts-expect-error Property 'user' does not exist on type 'HttpContextContract'. |