Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Sep 22, 2011
1 parent 00aced6 commit 00eb43e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions server/web.js
Expand Up @@ -24,10 +24,7 @@ var couchdb_options = couchdb_url.auth ?

var db = new(cradle.Connection)(couchdb_url.hostname, couchdb_url.port || 5984, couchdb_options).database('make');

db.create(function(err, data) {
console.log('cerr: %s', err);
console.log('cdat: %s', data);
});
db.create();

app.post('/make', function(request, response, next) {
if (! request.form) {
Expand All @@ -45,9 +42,6 @@ app.post('/make', function(request, response, next) {
var prefix = fields.prefix;

var doc = db.save(id, { command:command, prefix:prefix }, function(err, doc) {
console.log('err: %s', sys.inspect(err));
console.log('doc: %s', sys.inspect(doc));

db.saveAttachment(
doc.id,
doc.rev,
Expand Down

0 comments on commit 00eb43e

Please sign in to comment.