mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 16:58:25 +03:00
fix: accidental false types
This commit is contained in:
@@ -98,7 +98,7 @@ export function FindITGChartOnHash(hash: string) {
|
||||
export function FindBMSChartOnHash(hash: string) {
|
||||
return db.charts.bms.findOne({
|
||||
$or: [{ "data.hashMD5": hash }, { "data.hashSHA256": hash }],
|
||||
}) as Promise<ChartDocument<"bms:7K" | "bms:14K">>;
|
||||
}) as Promise<ChartDocument<"bms:7K" | "bms:14K"> | null>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user