change url to /package/manifest to reflect latest backend changes

This commit is contained in:
Jacob Overgaard
2023-02-27 10:59:48 +01:00
parent ad7f4b0833
commit 1784877e6e
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export class UmbPackageServerDataSource {
// TODO: Use real resource when available
return tryExecuteAndNotify(
this.host,
fetch(umbracoPath('/manifests')).then((res) => res.json())
fetch(umbracoPath('/package/manifest')).then((res) => res.json())
);
}

View File

@@ -3,7 +3,7 @@ import { rest } from 'msw';
import { umbracoPath } from '@umbraco-cms/utils';
import type { PagedManifestsResponse } from '@umbraco-cms/models';
export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_req, res, ctx) => {
export const manifestDevelopmentHandler = rest.get(umbracoPath('/package/manifest'), (_req, res, ctx) => {
return res(
// Respond with a 200 status code
ctx.status(200),
@@ -67,7 +67,7 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_
);
});
export const manifestEmptyHandler = rest.get(umbracoPath('/manifests'), (_req, res, ctx) => {
export const manifestEmptyHandler = rest.get(umbracoPath('/package/manifest'), (_req, res, ctx) => {
return res(
// Respond with a 200 status code
ctx.status(200),