Change Google auth strategy

This commit is contained in:
Jonathan Cremin 2018-03-11 20:22:17 +00:00
parent 0d4bd47251
commit bd85678303
5 changed files with 20 additions and 10 deletions

View file

@ -3,8 +3,8 @@ import fs from 'fs';
const services = [];
fs.readdirSync(path.join(__dirname, 'services')).forEach(function(file) {
var service = require(path.join(__dirname, 'services', file));
fs.readdirSync(path.join(__dirname, 'services')).forEach((file) => {
const service = require(path.join(__dirname, 'services', file));
if (service.search) {
services.push(service);
}