diff --git a/reference/waterline/datastores/driver.md b/reference/waterline/datastores/driver.md index f9ba92131..85951e148 100644 --- a/reference/waterline/datastores/driver.md +++ b/reference/waterline/datastores/driver.md @@ -25,10 +25,10 @@ var manager = ( var db; try { db = ( - await Driver.getConnection({ manager: managerReport.manager }) + await Driver.getConnection({ manager: manager }) ).connection; } catch (err) { - await Driver.destroyManager({ manager: managerReport.manager }); + await Driver.destroyManager({ manager: manager }); throw err; }