Update domain.handlers.ts

This commit is contained in:
Mads Rasmussen
2024-07-04 17:20:08 +02:00
parent b3c41f4d2f
commit 6d632fd85b

View File

@@ -8,7 +8,7 @@ export const domainHandlers = [
rest.get(umbracoPath(`${UMB_SLUG}/:id/domains`), (req, res, ctx) => {
const id = req.params.id as string;
if (!id) return;
const response = umbDocumentMockDb.getDomainsForDocument(id);
const response = umbDocumentMockDb.getDomainsForDocument();
return res(ctx.status(200), ctx.json(response));
}),
];