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(
1309
1309
string $ before_cursor = '' ,
1310
1310
int $ per_page = 100
1311
1311
) {
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
-
1323
1312
// Send request.
1324
1313
return $ this ->get (
1325
1314
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
+ )
1327
1321
);
1328
1322
}
1329
1323
You can’t perform that action at this time.
0 commit comments