xiongzhu 3 năm trước cách đây
mục cha
commit
c231355991
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 plan = plans.find((p) => p.id === planId)
+        const plan = plans.find((p) => p.id == planId)
         if (!plan) {
             return {
                 success: false,