chore: correct typo of expolde to explode (#1009)

This commit is contained in:
Anthony Porthouse 2019-09-25 17:11:53 +01:00 committed by Roman Hotsiy
parent d74e2d6c46
commit 350649d8b3

View File

@ -263,7 +263,7 @@ function serializeQueryParameter(
return `${name}=${value.join('|')}`;
case 'deepObject':
if (!explode || Array.isArray(value) || typeof value !== 'object') {
console.warn('The style deepObject is only applicable for objects with expolde=true');
console.warn('The style deepObject is only applicable for objects with explode=true');
return '';
}