Skip to content

Commit a68e19b

Browse files
committed
Fix compile error
1 parent 3c044ba commit a68e19b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/labrinth/src/models/v2/notifications.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ pub enum LegacyNotificationBody {
9494
},
9595
PaymentFailed {
9696
amount: String,
97+
service: String,
9798
},
9899
Unknown,
99100
}
@@ -246,8 +247,8 @@ impl LegacyNotification {
246247
new_email,
247248
to_email,
248249
},
249-
NotificationBody::PaymentFailed { amount } => {
250-
LegacyNotificationBody::PaymentFailed { amount }
250+
NotificationBody::PaymentFailed { amount, service } => {
251+
LegacyNotificationBody::PaymentFailed { amount, service }
251252
}
252253
NotificationBody::Unknown => LegacyNotificationBody::Unknown,
253254
};

0 commit comments

Comments
 (0)