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
......@@ -21,7 +21,7 @@ export default {
},
computed: {
userID() {
return parseCurrentUser().account_id;
return parseCurrentUser().accountId;
}
},
methods: {
......
......@@ -31,7 +31,7 @@ const ws = (function () {
console.log("Websocket Connected");
stompClient.subscribe(
"/user/" + parseCurrentUser().account_id + "/queue/messages",
"/user/" + parseCurrentUser().accountId + "/queue/messages",
onMessageReceived
);
};
......
......@@ -32,7 +32,7 @@ export default {
},
computed: {
userID() {
return parseCurrentUser().account_id;
return parseCurrentUser().accountId;
},
key() {
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