fix(xen-api): fix integer param preparation

This commit is contained in:
Julien Fontanet 2018-01-09 17:28:13 +01:00
parent 6281374cf3
commit 2f9ecb8fa8

View File

@ -145,7 +145,7 @@ const isReadOnlyCall = (method, args) => (
// //
// - cast integers to strings // - cast integers to strings
const prepareParam = param => { const prepareParam = param => {
if (isInteger(param === 'number')) { if (isInteger(param)) {
return String(param) return String(param)
} }