From bf349bb626c6ae70bfb6f86eeef19dcf9f8283d8 Mon Sep 17 00:00:00 2001 From: Henry Pate Date: Wed, 12 Aug 2015 14:12:39 -0400 Subject: [PATCH] Real World Example - Fix typo in API middleware error string This changes 'on' to 'one' in the string 'Specify on of the exported Schemas.' --- examples/real-world/middleware/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/real-world/middleware/api.js b/examples/real-world/middleware/api.js index c8facd585c..59473adeef 100644 --- a/examples/real-world/middleware/api.js +++ b/examples/real-world/middleware/api.js @@ -105,7 +105,7 @@ export default store => next => action => { throw new Error('Specify a string endpoint URL.'); } if (!schema) { - throw new Error('Specify on of the exported Schemas.'); + throw new Error('Specify one of the exported Schemas.'); } if (!Array.isArray(types) || types.length !== 3) { throw new Error('Expected an array of three action types.');