Correct typo of expolde to explode

This commit is contained in:
Anthony Porthouse 2019-08-09 11:35:20 +01:00 committed by GitHub
parent 121bf640fa
commit 40368dde01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,7 @@ function serializeQueryParameter(
return `${name}=${value.join('|')}`; return `${name}=${value.join('|')}`;
case 'deepObject': case 'deepObject':
if (!explode || Array.isArray(value) || typeof value !== 'object') { 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 ''; return '';
} }