Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1424 from mozilla/fix-geodb-args
Browse files Browse the repository at this point in the history
fix(geodb): if you write a module that takes a hash argument, call it with a hash argument
  • Loading branch information
jrgm authored Aug 17, 2016
2 parents 7a91f31 + 3feefa6 commit c4dab2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

var config = require('../config').get('geodb')
var geodb = require('fxa-geodb')(config.dbPath)
var geodb = require('fxa-geodb')(config)
var P = require('./promise')
var ACCURACY_MAX_KM = 200
var ACCURACY_MIN_KM = 25
Expand Down

0 comments on commit c4dab2c

Please sign in to comment.