mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
fix(workspaces): reading response locals when listing workspaces
This commit is contained in:
+1
-1
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user