File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -1309,21 +1309,15 @@ public function get_broadcasts(
13091309 string $ before_cursor = '' ,
13101310 int $ per_page = 100
13111311 ) {
1312- // Build parameters.
1313- $ options = ['include_total_count ' => $ include_total_count ];
1314-
1315- // Build pagination parameters.
1316- $ options = $ this ->build_pagination_params (
1317- params: $ options ,
1318- after_cursor: $ after_cursor ,
1319- before_cursor: $ before_cursor ,
1320- per_page: $ per_page
1321- );
1322-
13231312 // Send request.
13241313 return $ this ->get (
13251314 endpoint: 'broadcasts ' ,
1326- args: $ options
1315+ args: $ this ->build_total_count_and_pagination_params (
1316+ include_total_count: $ include_total_count ,
1317+ after_cursor: $ after_cursor ,
1318+ before_cursor: $ before_cursor ,
1319+ per_page: $ per_page
1320+ )
13271321 );
13281322 }
13291323
You can’t perform that action at this time.
0 commit comments