feat: remove address, permitNumber from search for payments
This commit is contained in:
@@ -39,8 +39,8 @@ export async function listPayments(
|
|||||||
pipeline.push({
|
pipeline.push({
|
||||||
$match: {
|
$match: {
|
||||||
$or: [
|
$or: [
|
||||||
{ permitNumber: { $regex: regex } },
|
//{ permitNumber: { $regex: regex } },
|
||||||
{ "address.full_address": { $regex: regex } },
|
//{ "address.full_address": { $regex: regex } },
|
||||||
{
|
{
|
||||||
$expr: {
|
$expr: {
|
||||||
$regexMatch: {
|
$regexMatch: {
|
||||||
|
|||||||
Reference in New Issue
Block a user