Permalink
Browse files

Added logging

  • Loading branch information...
davidmerfield committed Nov 19, 2018
1 parent c4fea11 commit 29100f5c3f4e07d28e387cb393a33f4eb8f9532c
Showing with 9 additions and 0 deletions.
  1. +9 −0 app/clients/dropbox/routes/saveDropboxAccount.js
@@ -1,6 +1,15 @@
var database = require("../database");
module.exports = function saveDropboxAccount(req, res, next) {
console.log(
"Blog:",
req.blog.id,
"Saving new Dropbox account with full access:",
req.unsavedAccount.full_access
);
database.set(req.blog.id, req.unsavedAccount, function(err) {
if (err) return next(err);
res.message("/", "Set up Dropbox successfuly!");

0 comments on commit 29100f5

Please sign in to comment.