Skip to content

Commit

Permalink
remove ID from response
Browse files Browse the repository at this point in the history
  • Loading branch information
froger-me committed Jan 9, 2024
1 parent be6cdab commit 981f5e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/class-wppus-license-update-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ protected function verify_license_exists( $license_key ) {
protected function prepare_license_for_output( $license ) {
$output = json_decode( wp_json_encode( $license ), true );

unset( $output['id'] );
unset( $output['hmac_key'] );
unset( $output['crypto_key'] );
unset( $output['data'] );
Expand Down

0 comments on commit 981f5e3

Please sign in to comment.