First review changes: applied prettier, ternary and changed accesRoadType filter
This commit is contained in:
@@ -30,7 +30,7 @@ const MAX_REAL_ESTATES_IN_FIRST_EMAIL =
|
|||||||
|
|
||||||
const PRINT_CRAWLER_DEBUG = process.env.PRINT_CRAWLER_DEBUG_INFO || 0;
|
const PRINT_CRAWLER_DEBUG = process.env.PRINT_CRAWLER_DEBUG_INFO || 0;
|
||||||
|
|
||||||
const API_MAP_KEY= process.env.API_MAP_KEY || "";
|
const API_MAP_KEY = process.env.API_MAP_KEY || "";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
APP_PORT,
|
APP_PORT,
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ const getFilters = async (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const postFilters = async (req, res) => {
|
const postFilters = async (req, res) => {
|
||||||
|
|
||||||
const searchRequest = await currentSearchRequest(req);
|
const searchRequest = await currentSearchRequest(req);
|
||||||
|
|
||||||
if (!searchRequest || !searchRequest.dataValues) {
|
if (!searchRequest || !searchRequest.dataValues) {
|
||||||
|
|||||||
Reference in New Issue
Block a user