Skip to content

Commit 3fca379

Browse files
committed
On Create Hooks getRaw parameter set as boolean before return as string
1 parent 68af8b2 commit 3fca379

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Parameters/HooksCreateParameters.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class HooksCreateParameters extends BaseParameters
3232
private $meetingId;
3333

3434
/**
35-
* @var string
35+
* @var boolean
3636
*/
3737
private $getRaw;
3838

@@ -85,15 +85,15 @@ public function setMeetingId($meetingId)
8585
}
8686

8787
/**
88-
* @return string
88+
* @return boolean
8989
*/
9090
public function getRaw()
9191
{
9292
return $this->getRaw;
9393
}
9494

9595
/**
96-
* @param string $getRaw
96+
* @param boolean $getRaw
9797
* @return HooksCreateParameters
9898
*/
9999
public function setGetRaw($getRaw)
@@ -111,7 +111,7 @@ public function getHTTPQuery()
111111
$queries = [
112112
'callbackURL' => $this->callbackUrl,
113113
'meetingID' => $this->meetingId,
114-
'getRaw' => $this->getRaw
114+
'getRaw' => $this->getRaw ? 'true' : 'false'
115115
];
116116

117117
return $this->buildHTTPQuery($queries);

0 commit comments

Comments
 (0)