feat: added identity access token to project identity router

This commit is contained in:
=
2025-11-13 12:52:41 +05:30
parent 32cd5fd466
commit 1ef39f6961
2 changed files with 7 additions and 7 deletions
@@ -227,7 +227,7 @@ export const identityAccessTokenServiceFactory = ({
});
if (!identityOrgMembership) {
throw new BadRequestError({ message: "Identity does not belong to any organization" });
throw new BadRequestError({ message: "Identity does not belong to this organization" });
}
orgId = subOrganization.id;
orgName = subOrganization.name;
@@ -241,7 +241,7 @@ export const identityAccessTokenServiceFactory = ({
});
if (!identityOrgMembership) {
throw new BadRequestError({ message: "Identity does not belong to any organization" });
throw new BadRequestError({ message: "Identity does not belong to this organization" });
}
orgId = identityOrgDetails.id;