Skip to content

Commit a594cd1

Browse files
committed
Update permission.handlers.ts
1 parent 41f318b commit a594cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mocks/handlers/document/permission.handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const permissionHandlers = [
88
rest.get(umbracoPath(`${UMB_SLUG}/:id/permissions`), (req, res, ctx) => {
99
const id = req.params.id as string;
1010
if (!id) return;
11-
const response = umbDocumentMockDb.getUserPermissionsForDocument(id);
11+
const response = umbDocumentMockDb.getUserPermissionsForDocument();
1212
return res(ctx.status(200), ctx.json(response));
1313
}),
1414
];

0 commit comments

Comments
 (0)