File tree Expand file tree Collapse file tree 4 files changed +0
-17
lines changed Expand file tree Collapse file tree 4 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 48
48
TEST_USER_EMAIL : ${{secrets.TEST_USER_EMAIL}}
49
49
TEST_USER_PW : ${{secrets.TEST_USER_PW}}
50
50
run : npm test
51
- - name : Archive production artifacts
52
- uses : actions/upload-artifact@v3
53
- with :
54
- name : server-log
55
- path : ./serverLog.txt
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ dotenv.config();
6
6
7
7
const mySQLdataController = { } ;
8
8
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
-
13
9
/**
14
10
* mySQLdataController.getSchema
15
11
* @param {string } hostname - A required string with database hostname
Original file line number Diff line number Diff line change @@ -5,16 +5,9 @@ const dotenv = require('dotenv');
5
5
dotenv . config ( ) ;
6
6
7
7
const { USER_DB_USER , USER_DB_PW } = process . env ;
8
-
9
8
const SSL_KEY = process . env . SSL_KEY as string ;
10
9
const SSL_CERT = process . env . SSL_CERT as string ;
11
10
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
-
18
11
const pool = mysql
19
12
. createPool ( {
20
13
connectionLimit : 10 ,
Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ export default function FeatureTab(props: any) {
121
121
122
122
const loadSchema = async ( ) => {
123
123
try {
124
- console . log ( { user } ) ;
125
124
if ( ! user ) return alert ( 'Sign in first' ) ;
126
125
const data = await fetch ( `/api/retrieveSchema/${ user . email } ` ) ;
127
126
if ( data . status === 204 ) return alert ( 'No database stored!' ) ;
You can’t perform that action at this time.
0 commit comments