mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-14 10:09:09 +03:00
fix: null means any playtype ya dummy
This commit is contained in:
@@ -24,7 +24,7 @@ const FindCustomBMSTable: RequestHandler = (req, res, next) => {
|
||||
});
|
||||
}
|
||||
|
||||
if (customTable.playtype !== playtype) {
|
||||
if (customTable.playtype && customTable.playtype !== playtype) {
|
||||
return res.status(404).json({
|
||||
success: false,
|
||||
description: `The table '${tableUrlName}' exists, but is for ${customTable.playtype}, not ${playtype}.`,
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ const FindCustomBMSTable: RequestHandler = (req, res, next) => {
|
||||
});
|
||||
}
|
||||
|
||||
if (customTable.playtype !== playtype) {
|
||||
if (customTable.playtype && customTable.playtype !== playtype) {
|
||||
return res.status(404).json({
|
||||
success: false,
|
||||
description: `The table '${tableUrlName}' exists, but is for ${customTable.playtype}, not ${playtype}.`,
|
||||
|
||||
Reference in New Issue
Block a user