From 198985cda095d3759e10e5f3162fb88b12c0c8dc Mon Sep 17 00:00:00 2001 From: Alexey Kolpakov Date: Thu, 25 Oct 2018 11:58:07 +0300 Subject: [PATCH] fix db name --- lib/provider/thelocals.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/provider/thelocals.js b/lib/provider/thelocals.js index fe99bba..e4ca1ce 100644 --- a/lib/provider/thelocals.js +++ b/lib/provider/thelocals.js @@ -8,7 +8,7 @@ const geoFilter = require('../geo_filter'); const ax = Ax.create({'content-type': 'application/json'}); module.exports.getOffers = async () => { - const db = await Db.create('avito'); + const db = await Db.create('thelocals'); const urlGetIdx = 'https://thelocals.ru/api/frontend/rooms'; const query = config.get('thelocals.query'); diff --git a/package.json b/package.json index 68728b1..556eae8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cyanic", - "version": "1.0.2", + "version": "1.0.3", "main": "index.js", "license": "MIT", "dependencies": {