feat: expose assignedToOrg field in list endpoints
This commit is contained in:
@@ -259,6 +259,7 @@ export async function listNotifications(
|
||||
createdAt: 1,
|
||||
updatedAt: 1,
|
||||
taggedUsers: 1,
|
||||
assignedToOrg: 1,
|
||||
assignedTo: {
|
||||
$map: {
|
||||
input: "$assignedTo",
|
||||
|
||||
@@ -222,6 +222,7 @@ export async function listPermits(
|
||||
noc: 1,
|
||||
deed: 1,
|
||||
requests: 1,
|
||||
assignedToOrg: 1,
|
||||
assignedTo: {
|
||||
$map: {
|
||||
input: "$assignedTo",
|
||||
|
||||
@@ -291,6 +291,7 @@ export async function listProcessedPermits(
|
||||
noc: 1,
|
||||
deed: 1,
|
||||
requests: 1,
|
||||
assignedToOrg: 1,
|
||||
assignedTo: {
|
||||
$map: {
|
||||
input: "$assignedTo",
|
||||
|
||||
@@ -160,6 +160,7 @@ export async function listRts(
|
||||
fileValidationStatus: 1,
|
||||
permitNumber: 1,
|
||||
lot: 1,
|
||||
assignedToOrg: 1,
|
||||
county: {
|
||||
$let: {
|
||||
vars: { county: { $arrayElemAt: ["$countyRec", 0] } },
|
||||
|
||||
Reference in New Issue
Block a user