Skip to content

Commit

Permalink
#47 fixing during first tests - now it seems functioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kecso committed Apr 4, 2015
1 parent beb4ad1 commit d5fb25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/server/middleware/rest/RestServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function createExpressRest(__app, gmeConfig, __logger, ensureAuthenticated, rest
req.headers.webGMEToken,
req.query,
function (httpStatus, object) {
console.log('backAgain',object);
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With");
if (req.params.command === __REST.command.etf) {
Expand Down
4 changes: 2 additions & 2 deletions src/server/worker/simpleworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,10 +742,10 @@ var seedProject = function (parameters, callback) {
return fail(err);
}

var newCommit = result.project.makeCommit([result.commitHash], result.core.getHash(result.rootNode), 'seeding project[' + seedName + ']', function (err) {
var newCommit = result.project.makeCommit([result.commitHash], result.core.getHash(result.rootNode), 'seeding project[' + parameters.seedName + ']', function (err) {
//TODO
});
result.core.setBranchHash(parameters.branch, result.commitHash, newCommit, function (err) {
result.project.setBranchHash(parameters.branch, result.commitHash, newCommit, function (err) {
if (err) {
return fail(err);
}
Expand Down

0 comments on commit d5fb25e

Please sign in to comment.