summaryrefslogtreecommitdiff
path: root/src/RequestMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/RequestMessage.php')
-rw-r--r--src/RequestMessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RequestMessage.php b/src/RequestMessage.php
index 7799937..a2e196d 100644
--- a/src/RequestMessage.php
+++ b/src/RequestMessage.php
@@ -49,7 +49,7 @@ class RequestMessage extends Message {
];
if (!is_null($this->requestData))
- $request['data'] = $this->requestData;
+ $request['data'] = (object)$this->requestData;
if (!is_null($this->password))
$request['password'] = $this->password;