fix: resolved signup failing in cloud

This commit is contained in:
=
2024-06-11 21:03:06 +05:30
parent 76f87a7708
commit d6c9e6db75
+1 -1
View File
@@ -315,7 +315,6 @@ export const orgServiceFactory = ({
}, },
tx tx
); );
await licenseService.updateSubscriptionOrgMemberCount(org.id);
await orgBotDAL.create( await orgBotDAL.create(
{ {
name: org.name, name: org.name,
@@ -337,6 +336,7 @@ export const orgServiceFactory = ({
return org; return org;
}); });
await licenseService.updateSubscriptionOrgMemberCount(organization.id);
return organization; return organization;
}; };