Skip to content

Commit

Permalink
Merge pull request #471 from HPate-Riptide/patch-1
Browse files Browse the repository at this point in the history
Real World Example - Fix typo in API middleware error string
  • Loading branch information
gaearon committed Aug 12, 2015
2 parents 30122f6 + bf349bb commit 8b1c075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/real-world/middleware/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 8b1c075

Please sign in to comment.