add log + use allSettled

This commit is contained in:
MathieuG-P
2023-03-01 23:26:48 +01:00
parent 363cc3cc5e
commit a56fdde0e7
5 changed files with 12 additions and 9 deletions
@@ -17,8 +17,8 @@ export class BeatSaverService {
}
public async getMapDetailsFromHashs(hashs: string[]): Promise<BsvMapDetail[]>{
//const res = await this.ipc.send<BsvMapDetail[], string[]>("bsv-get-map-details-from-hashs", {args: hashs});
return [];
const res = await this.ipc.send<BsvMapDetail[], string[]>("bsv-get-map-details-from-hashs", {args: hashs});
return res.data ?? [];
}