Skip to content

Commit

Permalink
fix: Move promotion_code_ext to products feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TmLev committed Aug 13, 2024
1 parent 3b4cde6 commit 32435f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ mod billing {
mod products {
pub mod price_ext;
pub mod product_ext;
pub mod promotion_code_ext;
}

#[path = "resources"]
#[cfg(feature = "checkout")]
mod checkout {
pub mod checkout_session_ext;
pub mod promotion_code_ext;
}

#[path = "resources"]
Expand Down Expand Up @@ -187,8 +187,6 @@ pub use {
#[rustfmt::skip]
#[cfg(feature = "checkout")]
pub use {
checkout::checkout_session_ext::*,
checkout::promotion_code_ext::*,
generated::checkout::{
checkout_session::*,
payment_link::*,
Expand All @@ -202,6 +200,7 @@ pub use {
products::{
product_ext::*,
price_ext::*,
promotion_code_ext::*,
}
};

Expand Down

0 comments on commit 32435f3

Please sign in to comment.