fix(xen-api): fix integer param preparation
This commit is contained in:
parent
6281374cf3
commit
2f9ecb8fa8
@ -145,7 +145,7 @@ const isReadOnlyCall = (method, args) => (
|
||||
//
|
||||
// - cast integers to strings
|
||||
const prepareParam = param => {
|
||||
if (isInteger(param === 'number')) {
|
||||
if (isInteger(param)) {
|
||||
return String(param)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user