Skip to content

Commit

Permalink
[ryan] update data location
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Tan committed Mar 15, 2018
1 parent 3a1e6af commit 5b09202
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ ehthumbs.db
Thumbs.db

node_modules
src/data/users.js
src/data/users.json
data/users.js
data/users.json
build/
yarn-error.log
.idea
*.pem
src/data/list
data/list
.env
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/modules/TelegramBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as CalendarApp from './CalendarApp';
import BookingSteps from './BookingSteps';
// import Logger from './Logger';

const db = new Loki('src/data/users.json');
const db = new Loki('data/users.json');

db.loadDatabase({}, () => {
console.log('users loaded');
Expand Down

0 comments on commit 5b09202

Please sign in to comment.