Change Google auth strategy
This commit is contained in:
parent
0d4bd47251
commit
bd85678303
5 changed files with 20 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue