From 206acab1bfab4be0f9073f7f885b773c5942ead2 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 17 Jul 2014 17:49:28 -0400 Subject: [PATCH] added posted data back whoops --- src/posts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index d4d0ecdba1..fb7f57597b 100644 --- a/src/posts.js +++ b/src/posts.js @@ -37,13 +37,15 @@ var async = require('async'), return callback(new Error('[[error:invalid-uid]]')); } + var postData; + async.waterfall([ function(next) { db.incrObjectField('global', 'nextPid', next); }, function(pid, next) { - var postData = { + postData = { 'pid': pid, 'uid': uid, 'tid': tid,