Skip to content

Commit

Permalink
fix: minor fixes for databases refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Jun 29, 2017
1 parent 1886ccf commit 04bfd5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/channels/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const FacebookLogin = require('facebook-login-for-robots')

const { NotAuthorizedError, OutOfLikesError } = require('./errors')

const { Channels, Auth } = require('../database')
const { Channels, Auth } = require('../databases')

const createChannelIfNeeded = function () {
return Channels.findByName(this.name)
Expand Down
2 changes: 1 addition & 1 deletion src/channels/happn.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const { NotAuthorizedError } = require('./errors')

const { HappnWrapper, HappnNotAuthorizedError } = require('happn-wrapper')

const { Channels } = require('../database')
const { Channels } = require('../databases')

const defaultOptions = {
oauth: {
Expand Down
2 changes: 1 addition & 1 deletion src/channels/tinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const { NotAuthorizedError, OutOfLikesError } = require('./errors')

const { TinderWrapper, TinderNotAuthorizedError, TinderOutOfLikesError } = require('tinder-wrapper')

const { Channels } = require('../database')
const { Channels } = require('../databases')

const defaultOptions = {
oauth: {
Expand Down

0 comments on commit 04bfd5d

Please sign in to comment.