File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,6 @@ userId: ${userId}`
383383
384384 try {
385385 await businessOperation . setStatus ( BusinessOperationStatus . Confirmed ) ;
386- await workspace . resetBillingPeriod ( ) ;
387386 await workspace . changePlan ( tariffPlan . _id ) ;
388387
389388 const subscriptionId = body . SubscriptionId ;
@@ -453,7 +452,7 @@ userId: ${userId}`
453452
454453 try {
455454 await publish ( 'cron-tasks' , 'cron-tasks/limiter' , JSON . stringify ( {
456- type : 'check-single -workspace' ,
455+ type : 'unblock -workspace' ,
457456 workspaceId : data . workspaceId ,
458457 } ) ) ;
459458 } catch ( e ) {
Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ export default class WorkspaceModel extends AbstractModel<WorkspaceDBScheme> imp
302302 $set : {
303303 tariffPlanId : this . tariffPlanId ,
304304 billingPeriodEventsCount : 0 ,
305- isBlocked : false ,
306305 lastChargeDate : new Date ( ) ,
307306 } ,
308307 }
You can’t perform that action at this time.
0 commit comments