File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,20 @@ export default class SqlServerAdapter extends AbstractAdapter {
56
56
}
57
57
58
58
configDatabase ( ) : config {
59
- const config = {
59
+ const config : config = {
60
60
user : this . server . config . user ,
61
61
password : this . server . config . password ,
62
62
server : < string > this . server . config . host ,
63
63
database : this . database . database ,
64
64
port : this . server . config . port ,
65
65
requestTimeout : Infinity ,
66
- appName : this . server . config . applicationName || 'sqlectron' ,
67
66
domain : this . server . config . domain ,
68
67
pool : {
69
68
max : 5 ,
70
69
} ,
71
70
options : {
72
- encrypt : this . server . config . ssl ,
71
+ encrypt : ! ! this . server . config . ssl ,
72
+ appName : this . server . config . applicationName || 'sqlectron' ,
73
73
enableArithAbort : true ,
74
74
} ,
75
75
} ;
@@ -79,7 +79,7 @@ export default class SqlServerAdapter extends AbstractAdapter {
79
79
config . port = this . server . config . localPort ;
80
80
}
81
81
82
- return < config > config ;
82
+ return config ;
83
83
}
84
84
85
85
async connect ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments