Spaces:
Paused
Paused
Update commons/queryBuilder.js
Browse files- commons/queryBuilder.js +1 -1
commons/queryBuilder.js
CHANGED
|
@@ -38,7 +38,7 @@ module.exports = async (args) => {
|
|
| 38 |
};
|
| 39 |
|
| 40 |
try {
|
| 41 |
-
// Fetch response
|
| 42 |
const response = await axios.get(searchUrl, { params });
|
| 43 |
const data = response.data;
|
| 44 |
|
|
|
|
| 38 |
};
|
| 39 |
|
| 40 |
try {
|
| 41 |
+
// Fetch response and ensure async resolution
|
| 42 |
const response = await axios.get(searchUrl, { params });
|
| 43 |
const data = response.data;
|
| 44 |
|