added isActive condition

This commit is contained in:
2026-03-09 15:51:58 +05:30
parent 8f428fc1cb
commit d186681ee4

View File

@@ -278,7 +278,7 @@ export class FilteredLandingPageService {
) {
const data = await this.prisma.$transaction(async (tx) => {
const userAddressDetails = await tx.userAddressDetails.findFirst({
where: { userXid: userId },
where: { userXid: userId, isActive: true },
select: {
id: true,
address1: true,