diff --git a/.gitignore b/.gitignore index 1af49f6..9252942 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ *.key node_modules package-lock.json -package.json \ No newline at end of file +package.json +/bin \ No newline at end of file diff --git a/queue/logic/order/activateOrderLogic.go b/queue/logic/order/activateOrderLogic.go index 5f280f4..f9e78fa 100644 --- a/queue/logic/order/activateOrderLogic.go +++ b/queue/logic/order/activateOrderLogic.go @@ -369,7 +369,7 @@ func (l *ActivateOrderLogic) Renewal(ctx context.Context, orderInfo *order.Order } // Check whether traffic reset on renewal is enabled - if !*sub.RenewalReset { + if *sub.RenewalReset { userSub.Download = 0 userSub.Upload = 0 }