diff --git a/docs/pages/features/connecting.mdx b/docs/pages/features/connecting.mdx index 191ac0e2d..97b5c779f 100644 --- a/docs/pages/features/connecting.mdx +++ b/docs/pages/features/connecting.mdx @@ -101,9 +101,9 @@ const signerOptions = { username: 'api-user', } -const signer = new RDS.Signer() +const signer = new RDS.Signer(signerOptions) -const getPassword = () => signer.getAuthToken(signerOptions) +const getPassword = () => signer.getAuthToken() const pool = new Pool({ user: signerOptions.username,