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