fix(workspaces): reading response locals when listing workspaces

This commit is contained in:
Karol Sójko
2022-10-14 11:44:25 +02:00
parent 79c00b0e7a
commit d2fcc761ad
@@ -21,7 +21,7 @@ export class InversifyExpressWorkspacesController extends BaseHttpController {
}
@httpGet('/')
async listWorkspaces(response: Response): Promise<results.JsonResult> {
async listWorkspaces(_request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.workspacesController.listWorkspaces({
userUuid: response.locals.user.uuid,
})