Skip to content

Commit 64d4c12

Browse files
committed
Remove console.log
1 parent 228209c commit 64d4c12

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

backend/question-service/src/server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import app from "./app.ts";
22
import connectDB from "./config/db.ts";
3-
// import { seedQuestions } from "./scripts/seed.ts";
43

54
const PORT = process.env.SERVICE_PORT || 3000;
65

76
if (process.env.NODE_ENV !== "test") {
87
connectDB()
98
.then(() => {
109
console.log("MongoDB Connected!");
11-
// seedQuestions();
1210

1311
const server = app.listen(PORT, () => {
1412
console.log(

backend/user-service/src/model/repository.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export async function connectToDB() {
1010
? process.env.MONGO_CLOUD_URI
1111
: process.env.MONGO_LOCAL_URI;
1212

13-
console.log(mongoDBUri);
14-
1513
if (!mongoDBUri) {
1614
throw new Error("MongoDB URI is not provided");
1715
}

0 commit comments

Comments
 (0)