mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-25 07:51:12 +02:00
fix billing info
This commit is contained in:
@@ -65,12 +65,12 @@ export function Profile({ user, logoutBtnHandler }) {
|
|||||||
!(
|
!(
|
||||||
event.type === 'order_created' &&
|
event.type === 'order_created' &&
|
||||||
!event.data.data.attributes.first_order_item?.variant_name?.match(
|
!event.data.data.attributes.first_order_item?.variant_name?.match(
|
||||||
/lifetime/
|
/lifetime/i
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)[0];
|
)[0];
|
||||||
if (creationEvent) {
|
if (creationEvent) {
|
||||||
console.log(creationEvent);
|
// log(creationEvent);
|
||||||
creationEvent.attributes = creationEvent.data.data.attributes;
|
creationEvent.attributes = creationEvent.data.data.attributes;
|
||||||
setCurrentSubscription(creationEvent);
|
setCurrentSubscription(creationEvent);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user