add notification create route, update permit update rotue
This commit is contained in:
@@ -156,7 +156,7 @@ export async function updatePermit(
|
||||
{
|
||||
$and: [{ tenantId: user.tenantId }, { pid: permitId }],
|
||||
},
|
||||
{ ...input, updatedAt: new Date() },
|
||||
{ ...input, lastUpdateDate: new Date() },
|
||||
{ new: true }
|
||||
)
|
||||
.populate({ path: "county", select: "pid name avatar" })
|
||||
|
||||
Reference in New Issue
Block a user