From b9be2a5049f6f31127d5c96dadef960584deee14 Mon Sep 17 00:00:00 2001 From: iamdi Date: Fri, 28 Jun 2019 13:28:39 +1000 Subject: [PATCH] Fix typo in the buildOptions example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50f5743..4d9cd87 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ factory.define('account', Account, buildOptions => { }; // use build options to modify the returned object - if (buildOptions.confirmedUser) { + if (buildOptions.confirmed) { attrs.confirmed = true; attrs.confirmedAt = new Date(); }