feat: all clients to see suncoast permits record
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user