Skip to content

Commit

Permalink
user straem: use API version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sysdef committed Jun 12, 2021
1 parent b629e99 commit 9b01442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Binance/API.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ sub keep_alive_user_data_stream {
my $query = {
listenKey => $params{'listenKey'},
};
return $self->ua->put('/api/v1/userDataStream', { query => $query } );
return $self->ua->put('/api/v3/userDataStream', { query => $query } );
}

=head2 delete_user_data_stream
Expand Down Expand Up @@ -1378,7 +1378,7 @@ sub delete_user_data_stream {
my $query = {
listenKey => $params{'listenKey'},
};
return $self->ua->delete('/api/v1/userDataStream', { query => $query } );
return $self->ua->delete('/api/v3/userDataStream', { query => $query } );
}

=head2 log
Expand Down

0 comments on commit 9b01442

Please sign in to comment.