ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 0a981595abc1b6de3974ea3e6db5bc5ee6596da2
parent 78dc6a916b867d1e85a75ea78064a63d795b816c
Author: Konstantin Tarkus <koistya@gmail.com>
Date:   Mon, 28 Mar 2016 22:27:42 +0400

Merge pull request #535 from hieuhani/develop

Remove redundant commas in SQL statement
Diffstat:
Msrc/core/passport.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/passport.js b/src/core/passport.js @@ -59,7 +59,7 @@ passport.use(new FacebookStrategy({ UPDATE user_profile SET display_name = COALESCE(NULLIF(display_name, ''), $2), gender = COALESCE(NULLIF(gender, ''), $3), - picture = COALESCE(NULLIF(picture, ''), $4), + picture = COALESCE(NULLIF(picture, ''), $4) WHERE user_id = $1;`, req.user.id, profile.displayName, profile._json.gender, `https://graph.facebook.com/${profile.id}/picture?type=large`);