Skip to content

Commit 4fd1670

Browse files
committed
fix: google calendar event schema
1 parent 369042c commit 4fd1670

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

posts-bridge/addons/gcalendar/class-gcalendar-addon.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,12 @@ public function get_endpoint_schema( $endpoint, $backend, $method = null ) {
266266
'properties' => array(
267267
'requestId' => array( 'type' => 'string' ),
268268
'conferenceSolutionKey' => array( 'type' => array( 'type' => 'string' ) ),
269-
'status' => array( 'statusCode' => array( 'type' => 'string' ) ),
269+
'status' => array(
270+
'type' => 'object',
271+
'properties' => array(
272+
'statusCode' => array( 'type' => 'string' ),
273+
),
274+
),
270275
),
271276
),
272277
'entryPoints' => array(

0 commit comments

Comments
 (0)