diff --git a/packages/orchestration-service/src/services/memory.js b/packages/orchestration-service/src/services/memory.js index 85eaaf2..9be7d4d 100644 --- a/packages/orchestration-service/src/services/memory.js +++ b/packages/orchestration-service/src/services/memory.js @@ -7,7 +7,7 @@ const BASE_URL = getEnv('MEMORY_SERVICE_URL', 'http://localhost:3002'); async function getSessionByExternalId(externalId) { const res = await fetch(`${BASE_URL}/sessions/by-external/${externalId}`); - if (!res.status === 404) return null; // Not found or bad request + if (res.status === 404) return null; // Not found or bad request if (!res.ok) throw new Error(`Memory service error: ${res.status} ${res.statusText}`); // Other errors return res.json();