feat: add search settings page in dashboard, sidebar menu, and MongoDB search integration
deploy-chabokan / deploy (push) Canceled after 0s

This commit is contained in:
2026-08-19 05:50:18 +03:30
parent cf7e1ee45c
commit 859a86f1a5
8 changed files with 581 additions and 20 deletions
+19
View File
@@ -168,9 +168,28 @@ export const TransactionService = {
return response.data;
} catch (err) {
console.log(err);
throw err;
}
},
searchTransactionsMongo: async (query) => {
const config = {
method: 'get',
url: '/api/transactions/admin/search-mongo',
withCredentials: true,
params: query,
headers: TransactionService._getAuthHeader()
};
try {
const response = await axios(config);
return response.data;
} catch (err) {
console.log(err);
throw err;
}
},
indexTransactions: async () => {
const config = {
method: 'post',