mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 03:18:06 +03:00
Merge pull request #594 from TNG-dev/hotfix-delete-scores-dontalwaysremovepb
This commit is contained in:
@@ -76,7 +76,7 @@ export async function DeleteScore(score: ScoreDocument, blacklist = false) {
|
||||
|
||||
const userHasOtherScores = await db.scores.findOne({
|
||||
userID: score.userID,
|
||||
chart: score.chartID,
|
||||
chartID: score.chartID,
|
||||
});
|
||||
|
||||
if (userHasOtherScores) {
|
||||
|
||||
Reference in New Issue
Block a user