Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Apr 24, 2024
1 parent b16cc74 commit 9ae2e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/utils/buildURL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const buildURL = (
: "contact";
const sorted = sort === "ASC" ? "sort=created_at" : "sort=-created_at";
const where: any = {};

console.log("test");
if (query.trim() !== "") {
where.$or = [{ name: { $regex: `.*${query}.*`, $options: "i" } }];
if (searchInMessages) {
Expand Down

0 comments on commit 9ae2e91

Please sign in to comment.