Commit eccde13b authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Could not read message - fix #39

parent a64019df
......@@ -424,7 +424,7 @@ function ESMessageViewController($scope, $state, $timeout, $translate, $ionicHis
return $scope.loadWallet({minData: true})
.then(function() {
return esMessage.get({type: type, id: id});
return esMessage.get(id, {type: type});
})
.catch(UIUtils.onError('MESSAGE.ERROR.LOAD_MESSAGE_FAILED'))
.then(function(message) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment