ff-stream-web

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

commit 314e6a3cb06161d998b360927fa1ede56eb3786e
parent 78dc6a916b867d1e85a75ea78064a63d795b816c
Author: Hieu Tran <658655@gmail.com>
Date:   Tue, 29 Mar 2016 00:44:16 +0700

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`);