xiongzhu 3 years ago
parent
commit
c231355991
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/membership/membership.controller.ts

+ 1 - 1
src/membership/membership.controller.ts

@@ -72,7 +72,7 @@ export class MembershipController {
             }
             }
         }
         }
         const plans = await this.membershipService.getPlans()
         const plans = await this.membershipService.getPlans()
-        const plan = plans.find((p) => p.id === planId)
+        const plan = plans.find((p) => p.id == planId)
         if (!plan) {
         if (!plan) {
             return {
             return {
                 success: false,
                 success: false,