Skip to content

Commit

Permalink
Fix beta 'events' method in Rust sdk
Browse files Browse the repository at this point in the history
This was changed to point at the wrong endpoint
  • Loading branch information
svix-aaron1011 committed Sep 11, 2024
1 parent 04f4499 commit 4d54203
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,9 @@ impl<'a> Message<'a> {
#[cfg(feature = "svix_beta")]
pub async fn events(
&self,
params: message_api::V1MessageCreateParams,
) -> Result<crate::models::MessageOut> {
message_api::v1_message_create(self.cfg, params).await
params: message_api::V1MessageEventsParams,
) -> Result<crate::models::MessageEventsOut> {
message_api::v1_message_events(self.cfg, params).await
}

#[cfg(feature = "svix_beta")]
Expand Down

0 comments on commit 4d54203

Please sign in to comment.