Prévention bugs
continuous-integration/drone/push Build is passing Details

peristanceBDD
Alban GUILHOT 2 years ago
parent 2267eaa529
commit 172aeab0b5

@ -1,4 +1,4 @@
const { io } = require("socket.io-client");
export const socket = io("http://192.168.1.54:3000");
export const socket = io("http://172.20.10.2:3000");

@ -24,7 +24,9 @@ export class LoaderConversationApi implements ILoaderConversation{
url: url,
})
.then(async function (response: any) {
if (response.data != null || response.data != undefined){
tabConv=await jsonToConversation(response);
}
});
return tabConv;
}

@ -18,6 +18,8 @@ export default class LoaderGameApi implements ILoaderGame{
})
.then(function (response: any) {
if (response.data != null || response.data != undefined){
response.data.forEach(game => {
switch(game.type){
case "GameSolo":
@ -39,7 +41,7 @@ export default class LoaderGameApi implements ILoaderGame{
break;
}
});
}
});
return tab;

Loading…
Cancel
Save