aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/http/www/Utils.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-14 12:16:49 +0300
committerGravatar Vitaly Takmazov2016-01-14 12:16:49 +0300
commitc492429b25c1ef711620a4f509975c7edc3ffa4a (patch)
tree5bc6b5746381d970760cd6ae5c5561e66a1f95e7 /src/main/java/com/juick/http/www/Utils.java
parent7e93e142b6dd75c22c057962447eec014c4e15b4 (diff)
Update libraries and refactoring
Diffstat (limited to 'src/main/java/com/juick/http/www/Utils.java')
-rw-r--r--src/main/java/com/juick/http/www/Utils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/http/www/Utils.java b/src/main/java/com/juick/http/www/Utils.java
index 21577a40..931e2c21 100644
--- a/src/main/java/com/juick/http/www/Utils.java
+++ b/src/main/java/com/juick/http/www/Utils.java
@@ -82,7 +82,7 @@ public class Utils {
if (hash != null) {
com.juick.User visitor = com.juick.server.UserQueries.getUserByHash(sql, hash);
if (response != null && visitor != null) {
- response.setHeader("X-Username", visitor.UName);
+ response.setHeader("X-Username", visitor.getUName());
}
return visitor;
} else {