Skip to content

Commit 80f61e0

Browse files
committed
Make formatting more consistent for the merge
1 parent 561a12e commit 80f61e0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: content/features/1-connecting.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,16 @@ const { RDS } = require('aws-sdk')
9999
const signerOptions = {
100100
credentials: {
101101
accessKeyId: 'YOUR-ACCESS-KEY',
102-
secretAccessKey: 'YOUR-SECRET-ACCESS-KEY'
102+
secretAccessKey: 'YOUR-SECRET-ACCESS-KEY',
103103
},
104104
region: 'us-east-1',
105105
hostname: 'example.aslfdewrlk.us-east-1.rds.amazonaws.com',
106106
port: 5432,
107-
username: 'api-user'
107+
username: 'api-user',
108108
}
109109

110110
const signer = new RDS.Signer()
111111

112-
/** @returns {string} */
113112
const getPassword = () => signer.getAuthToken(signerOptions)
114113

115114
const pool = new Pool({
@@ -118,7 +117,7 @@ const pool = new Pool({
118117
user: signerOptions.username,
119118
database: 'my-db',
120119
password: getPassword,
121-
});
120+
})
122121
```
123122

124123
### Programmatic Connection to Sockets

0 commit comments

Comments
 (0)