Skip to content

Commit

Permalink
use contacts v5
Browse files Browse the repository at this point in the history
  • Loading branch information
greta-mik committed Jul 3, 2024
1 parent 90dbcf2 commit cfc83b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnisend/includes/Internal/V1/class-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function create_contact( $contact ): CreateContactResponse {
}

$response = wp_remote_post(
OMNISEND_CORE_API_V3 . '/contacts',
OMNISEND_CORE_API_V5 . '/contacts',
array(
'body' => wp_json_encode( $contact->to_array() ),
'headers' => array(
Expand Down

0 comments on commit cfc83b0

Please sign in to comment.