summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 08:50:15 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 17:13:01 -0700
commit933578ca07c4560a28c7a1bda5b4f5934b1fbb8d (patch)
tree75d240f12c37594a2a858c07ee655b1d12100588 /web/react
parent6b48dbe231cf1a793b2071cf8e4c751d13f5abad (diff)
downloadchat-933578ca07c4560a28c7a1bda5b4f5934b1fbb8d.tar.gz
chat-933578ca07c4560a28c7a1bda5b4f5934b1fbb8d.tar.bz2
chat-933578ca07c4560a28c7a1bda5b4f5934b1fbb8d.zip
Removed option that does not work
Diffstat (limited to 'web/react')
-rw-r--r--web/react/utils/client.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index dd835e863..4433df5cf 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -280,14 +280,14 @@ module.exports.getMeSynchronous = function(success, error) {
url: "/api/v1/users/me",
dataType: 'json',
contentType: 'application/json',
- cache: false,
+ //cache: false,
type: 'GET',
success: function(data, textStatus, xhr) {
current_user = data;
if (success) success(data, textStatus, xhr);
},
error: function(xhr, status, err) {
- if (xhr.status != 200 && error) {
+ if (/*xhr.status != 200 && */error) {
e = handleError("getMeSynchronous", xhr, status, err);
error(e);
};