diff --git a/SASjsServer.drawio b/SASjsServer.drawio new file mode 100644 index 0000000..55ed8e5 --- /dev/null +++ b/SASjsServer.drawio @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/api/src/controllers/internal/Session.ts b/api/src/controllers/internal/Session.ts index 18df643..5921a25 100644 --- a/api/src/controllers/internal/Session.ts +++ b/api/src/controllers/internal/Session.ts @@ -38,7 +38,6 @@ export class SessionController { private async createSession(): Promise { const sessionId = generateUniqueFileName(generateTimestamp()) - console.log('creating session', sessionId) const sessionFolder = path.join(getTmpSessionsFolderPath(), sessionId) const creationTimeStamp = sessionId.split('-').pop() as string diff --git a/api/src/utils/connectDB.ts b/api/src/utils/connectDB.ts index 4f2c9e6..88284c5 100644 --- a/api/src/utils/connectDB.ts +++ b/api/src/utils/connectDB.ts @@ -7,7 +7,7 @@ import { getRealPath } from '@sasjs/utils' export const connectDB = async () => { // NOTE: when exporting app.js as agent for supertest - // we should exlcude connecting to the real database + // we should exclude connecting to the real database if (process.env.NODE_ENV === 'test') { process.driveLoc = path.join(process.cwd(), 'tmp') return