removed parazite

This commit is contained in:
sdarbinyan
2026-06-19 16:13:54 +04:00
parent 7a06843bf5
commit 9aaff4d80a
3 changed files with 3 additions and 31 deletions

View File

@@ -780,8 +780,8 @@ export const mockDataInterceptor: HttpInterceptorFn = (req, next) => {
return respond([]);
}
// ── POST /websession/:id (add to cart)
if (url.match(/\/websession\/[^/]+$/) && req.method === 'POST') {
// ── POST /usersession/:id or /websession/:id (sync cart)
if (url.match(/\/(?:user|web)session\/[^/]+$/) && req.method === 'POST') {
return respond({
sessionId: 'mock-session',
Status: true,