Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sauban committed Feb 21, 2019
1 parent cf1c09a commit dc0a809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database-connect/keyService.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = {
const deferred = q.defer();

try {
const isValidUrl = util.isValidUrl(url);
const isValidUrl = util.isUrlValid(url);
if (isValidUrl) {
const collection = config.mongoClient.db(config.globalDb).collection(config.globalSettings);
const docs = await collection.find({}).toArray();
Expand Down

0 comments on commit dc0a809

Please sign in to comment.