From dbea48ec538545c1b07f7b70fcd9feb04ef70270 Mon Sep 17 00:00:00 2001 From: Gleny Date: Tue, 23 Jul 2019 18:23:18 -0300 Subject: [PATCH] Fix Example Driver Fix Example Driver, managerReport.manager does not exist --- reference/waterline/datastores/driver.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }