Skip to content

Commit

Permalink
More tweaks to local client
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Oct 17, 2018
1 parent a4beca9 commit a9d4f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/clients/local/controller.js
Expand Up @@ -4,7 +4,7 @@ var fs = require("fs-extra");
var controller = Express.Router();
var model = require("./model");
var Blog = require("blog");
var init = require("./init");
var sync = require("./sync");

// By the time this middleware is mounted, blot
// has fetched the information about this user.
Expand All @@ -31,7 +31,7 @@ controller.post("/set", function(req, res, next) {
model.set(req.blog.id, folder, function(err) {
if (err) return next(err);

init(req.blog.id, folder, function(err) {
sync(req.blog.id, folder, function(err) {
if (err) return next(err);

res.redirect(req.baseUrl);
Expand Down
File renamed without changes.

0 comments on commit a9d4f43

Please sign in to comment.