Skip to content
Snippets Groups Projects
Commit 6824010f authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Fixes 2

parent 50b4d601
No related branches found
No related tags found
1 merge request!44Fix2
Pipeline #177064 passed with stages
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
}, },
computed: { computed: {
userID() { userID() {
return parseCurrentUser().account_id; return parseCurrentUser().accountId;
} }
}, },
methods: { methods: {
......
...@@ -31,7 +31,7 @@ const ws = (function () { ...@@ -31,7 +31,7 @@ const ws = (function () {
console.log("Websocket Connected"); console.log("Websocket Connected");
stompClient.subscribe( stompClient.subscribe(
"/user/" + parseCurrentUser().account_id + "/queue/messages", "/user/" + parseCurrentUser().accountId + "/queue/messages",
onMessageReceived onMessageReceived
); );
}; };
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}, },
computed: { computed: {
userID() { userID() {
return parseCurrentUser().account_id; return parseCurrentUser().accountId;
}, },
key() { key() {
return this.selected.userId || "ERROR" ; return this.selected.userId || "ERROR" ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment