fix : free plan
This commit is contained in:
@@ -52,5 +52,4 @@ export class ExtendUSerSubscribeServiceDto {
|
||||
@IsUUID(4, { message: SubscriptionMessage.SERVICE_MUST_BE_UUID })
|
||||
@ApiProperty({ description: "The service id ", example: "f7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b" })
|
||||
serviceId: string;
|
||||
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ export class SubscriptionsService {
|
||||
async extendSubscribeToPlan(userSubscriptionId: string, dto: ExtendUSerSubscribeServiceDto, userId: string) {
|
||||
const queryRunner = this.dataSource.createQueryRunner();
|
||||
|
||||
let isFree = false;
|
||||
const isFree = false;
|
||||
try {
|
||||
await queryRunner.connect();
|
||||
await queryRunner.startTransaction();
|
||||
|
||||
Reference in New Issue
Block a user