Skip to content

Commit 2053b0f

Browse files
remove logs
1 parent 9ef73f3 commit 2053b0f

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

.github/workflows/node.js.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,3 @@ jobs:
4848
TEST_USER_EMAIL: ${{secrets.TEST_USER_EMAIL}}
4949
TEST_USER_PW: ${{secrets.TEST_USER_PW}}
5050
run: npm test
51-
- name: Archive production artifacts
52-
uses: actions/upload-artifact@v3
53-
with:
54-
name: server-log
55-
path: ./serverLog.txt

server/controllers/mysqlData.controller.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ dotenv.config();
66

77
const mySQLdataController = {};
88

9-
console.log('mysqlData.controller');
10-
console.log('typeof SSL_KEY', typeof process.env.SSL_KEY);
11-
console.log('typeof SSL_CERT', typeof process.env.SSL_CERT);
12-
139
/**
1410
* mySQLdataController.getSchema
1511
* @param {string} hostname - A required string with database hostname

server/models/userModel.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,9 @@ const dotenv = require('dotenv');
55
dotenv.config();
66

77
const { USER_DB_USER, USER_DB_PW } = process.env;
8-
98
const SSL_KEY = process.env.SSL_KEY as string;
109
const SSL_CERT = process.env.SSL_CERT as string;
1110

12-
console.log('userModel.ts');
13-
console.log('typeof SSL_KEY', typeof SSL_KEY);
14-
console.log('typeof SSL_CERT', typeof SSL_CERT);
15-
console.log('typeof USER_DB_USER', typeof USER_DB_USER);
16-
console.log('typeof USER_DB_PW', typeof USER_DB_PW);
17-
1811
const pool = mysql
1912
.createPool({
2013
connectionLimit: 10,

src/components/DBDisplay/FeatureTab.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ export default function FeatureTab(props: any) {
121121

122122
const loadSchema = async () => {
123123
try {
124-
console.log({ user });
125124
if (!user) return alert('Sign in first');
126125
const data = await fetch(`/api/retrieveSchema/${user.email}`);
127126
if (data.status === 204) return alert('No database stored!');

0 commit comments

Comments
 (0)