home page errors in progress
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m0s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m0s
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"test:integration": "NODE_ENV=test tsx ./node_modules/vitest/vitest.mjs run --project integration -c vitest.config.integration.ts",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"clean": "rimraf coverage .coverage",
|
||||
"start:dev": "NODE_ENV=development tsx watch server.ts",
|
||||
"start:prod": "NODE_ENV=production tsx server.ts",
|
||||
"start:test": "NODE_ENV=test NODE_V8_COVERAGE=.coverage/tmp/integration-server tsx server.ts",
|
||||
"db:reset:test": "NODE_ENV=test tsx src/db/seed.ts",
|
||||
|
||||
@@ -212,7 +212,7 @@ export const fetchFlyerById = async (flyerId: number): Promise<Response> => {
|
||||
* @returns A promise that resolves to an array of MasterGroceryItem objects.
|
||||
*/
|
||||
export const fetchMasterItems = async (): Promise<Response> => {
|
||||
return fetch(`${API_BASE_URL}/master-items`);
|
||||
return fetch(`${API_BASE_URL}/personalization/master-items`);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -478,11 +478,11 @@ export const getShoppingTripHistory = async (tokenOverride?: string): Promise<Re
|
||||
// --- Personalization & Social API Functions ---
|
||||
|
||||
export const getDietaryRestrictions = async (): Promise<Response> => {
|
||||
return fetch(`${API_BASE_URL}/dietary-restrictions`);
|
||||
return fetch(`${API_BASE_URL}/personalization/dietary-restrictions`);
|
||||
};
|
||||
|
||||
export const getAppliances = async (): Promise<Response> => {
|
||||
return fetch(`${API_BASE_URL}/appliances`);
|
||||
return fetch(`${API_BASE_URL}/personalization/appliances`);
|
||||
};
|
||||
|
||||
export const getUserDietaryRestrictions = async (tokenOverride?: string): Promise<Response> => {
|
||||
|
||||
Reference in New Issue
Block a user