First review changes: applied prettier, ternary and changed accesRoadType filter

This commit is contained in:
Naida Vatric
2019-12-17 11:28:00 +01:00
2 changed files with 1 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ const MAX_REAL_ESTATES_IN_FIRST_EMAIL =
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 = {
APP_PORT,

View File

@@ -120,7 +120,6 @@ const getFilters = async (req, res) => {
};
const postFilters = async (req, res) => {
const searchRequest = await currentSearchRequest(req);
if (!searchRequest || !searchRequest.dataValues) {