Skip to content

Commit

Permalink
Use new method for pull screen lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Mar 17, 2023
1 parent 22f8a1e commit a9ce06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function get_pull_content_list( $request ) {
}

$dt_post = new DistributorPost( $post->ID );
$formatted_posts[] = $dt_post->to_insert();
$formatted_posts[] = $dt_post->to_pull_list();
}

$response = rest_ensure_response( $formatted_posts );
Expand Down

0 comments on commit a9ce06e

Please sign in to comment.