mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 10:06:58 +00:00
Bug Fix
This commit is contained in:
1 parent
0f5ec6c40c
commit
131df2d82a
2 files changed
+3
-1
No files matched your search
@@ -17,6 +17,9 @@ const config = require('nconf')
|
||||
.file('environment', { file: `config/${process.env.NODE_ENV}.json` })
|
||||
.file('defaults', { file: 'config/default.json' });
|
||||
|
||||
console.log(config.get('googleClientId'));
|
||||
console.log(config.get('secret'));
|
||||
console.log(config.get('googleApiKey'));
|
||||
//DB
|
||||
const mongoose = require('mongoose');
|
||||
mongoose.connect(config.get('mongodb_uri') || config.get('mongolab_uri') || 'mongodb://localhost/naturalcrit',
|
||||
|
||||
@@ -225,7 +225,6 @@ GoogleActions = {
|
||||
readFileMetadata : async (auth, id, accessId, accessType)=>{
|
||||
const drive = google.drive({ version: 'v3', auth: auth });
|
||||
console.log(auth);
|
||||
console.log(drive);
|
||||
|
||||
const obj = await drive.files.get({
|
||||
fileId : id,
|
||||
|
||||
Reference in new issue
Block a user