Fix: request history and ranking record with maestroID
This commit is contained in:
@@ -16,6 +16,7 @@ class HistoryBoard {
|
||||
let today = new Date();
|
||||
let date = DateUtil.getYYYYMMDD(today);
|
||||
this.dbConnectManager.requestPlayerHistory(
|
||||
sessionStorageManager.maestroID,
|
||||
date,
|
||||
historyRecordManager => {
|
||||
if(historyRecordManager.count == 0) {
|
||||
|
||||
@@ -17,7 +17,7 @@ class RankingBoard {
|
||||
let date = DateUtil.getYYYYMMDD(today);
|
||||
let time = DateUtil.getHHMMSS(today);
|
||||
this.dbConnectManager.requestRanking(
|
||||
type, date, time,
|
||||
type, sessionStorageManager.maestroID, date, time,
|
||||
(type, rankingRecordManager) => {
|
||||
if(rankingRecordManager.count == 0) {
|
||||
console.log("ranking board - no data");
|
||||
|
||||
Reference in New Issue
Block a user