feat: all clients to see suncoast permits record

This commit is contained in:
2026-01-31 16:31:58 +05:30
parent fe61e60b49
commit 57628397d6

View File

@@ -50,7 +50,7 @@ export async function listOrgs(
if (user.role === "client") {
filterObj.push({
$or: [
{ type: "county" },
{ type: { $in: ["county", "agent"] } },
{
_id: {
$in: user.orgId.map((item) => new mongoose.Types.ObjectId(item)),