From 8eeb962ebc539a501ce632f09a8f27e6cb5e76be Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sat, 15 Feb 2014 17:17:15 -0500 Subject: [PATCH] fixed small bug --- src/routes/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/user.js b/src/routes/user.js index b6b6e6a87d..ae34d29472 100644 --- a/src/routes/user.js +++ b/src/routes/user.js @@ -165,7 +165,7 @@ var fs = require('fs'), }); } - var updateUid = req.params.uid; + var updateUid = req.user.uid; async.waterfall([ function(next) {