From 30bbea9c74b8a533fb0457adfde6abba8c509244 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Tue, 20 Aug 2013 00:26:50 -0400 Subject: [PATCH] closes #175 --- src/routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api.js b/src/routes/api.js index a152c8af22..2792222dae 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -24,7 +24,7 @@ var user = require('./../user.js'), clientConfig[attrname] = metaConfig[attrname]; } - clientConfig['imgurClientIDSet'] = clientConfig['imgurClientID'] !== ''; + clientConfig['imgurClientIDSet'] = !!clientConfig['imgurClientID']; delete clientConfig['imgurClientID']; res.json(200, clientConfig);