diff --git a/middleware/payload-filter.js b/middleware/payload-filter.js index 8ce3d39d5..0cafd91fe 100644 --- a/middleware/payload-filter.js +++ b/middleware/payload-filter.js @@ -38,7 +38,7 @@ module.exports = (req, res, next) => { } else if (typeof o === 'object') { - // Itterate over the props, find only properties owned by the object. + // Iterate over the props, find only properties owned by the object. for (let prop in o) { // If and only if the object owns the property do we actually pull the diff --git a/tests/models/setting.js b/tests/models/setting.js index fbd5bf77f..8fd23d6a0 100644 --- a/tests/models/setting.js +++ b/tests/models/setting.js @@ -41,7 +41,7 @@ describe('models.Setting', () => { }); describe('#merge', () => { - it('should merge a settings object and it\'s overrides', () => { + it('should merge a settings object and its overrides', () => { return Setting .retrieve() .then((settings) => {