@@ -60,7 +60,7 @@ class CreateAccountAlias extends ApiService
__FUNCTION__,
$this->api->account->getLastResult(),
'debug',
- $this->api->account->getLastErrorCode()
+ $this->api->account->getLastResult()->getLastErrorCode()
);
/**