Skip to content

Commit dc0a809

Browse files
committed
Fixed bug
1 parent cf1c09a commit dc0a809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database-connect/keyService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = {
133133
const deferred = q.defer();
134134

135135
try {
136-
const isValidUrl = util.isValidUrl(url);
136+
const isValidUrl = util.isUrlValid(url);
137137
if (isValidUrl) {
138138
const collection = config.mongoClient.db(config.globalDb).collection(config.globalSettings);
139139
const docs = await collection.find({}).toArray();

0 commit comments

Comments
 (0)