Fix game info, online users

This commit is contained in:
Natsumi
2020-12-13 10:01:03 +13:00
committed by pypy
parent cba7469a3f
commit efa7fbb857
-2
View File
@@ -377,7 +377,6 @@ import gameLogService from './service/gamelog.js'
} }
this.$throw(res.status); this.$throw(res.status);
}).then(({ data, status }) => { }).then(({ data, status }) => {
if (data === Object(data)) {
if (status === 200) { if (status === 200) {
if (data.success === Object(data.success)) { if (data.success === Object(data.success)) {
new Noty({ new Noty({
@@ -399,7 +398,6 @@ import gameLogService from './service/gamelog.js'
data.error data.error
); );
} }
}
this.$throw(status, data); this.$throw(status, data);
return data; return data;
}); });