Skip to content

Commit

Permalink
fix events mapping once more
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Dec 16, 2023
1 parent 18df6eb commit 50427f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commonMain/rust/bridge/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ impl ToProtobuf<models::EventModal, ()> for GetModalResponse {
fn to_protobuf(&self, _args: &()) -> models::EventModal {
models::EventModal {
id: self.id.to_owned(),
title: self.id.to_owned(),
message: self.id.to_owned(),
title: self.title.to_owned(),
message: self.message.to_owned(),
image_url: self.image_url.to_protobuf(&()),
addon: self
.addon
Expand All @@ -36,8 +36,8 @@ impl ToProtobuf<models::EventNotification, ()> for GetNotificationResponse {
fn to_protobuf(&self, _args: &()) -> models::EventNotification {
models::EventNotification {
id: self.id.to_owned(),
title: self.id.to_owned(),
message: self.id.to_owned(),
title: self.title.to_owned(),
message: self.message.to_owned(),
external_url: self.external_url.to_protobuf(&()),
}
}
Expand Down

0 comments on commit 50427f1

Please sign in to comment.