Fix possibly long standing bug in Api#call().

This commit is contained in:
Julien Fontanet 2015-05-06 17:53:20 +02:00
parent d85a4c9ad4
commit adbbb15a92

View File

@ -295,7 +295,7 @@ export default class Api {
await resolveParams.call(context, method, params)
try {
let result = method.call(context, params)
let result = await method.call(context, params)
// If nothing was returned, consider this operation a success
// and return true.