mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 06:48:04 +03:00
Off by one in capitalisation
This commit is contained in:
@@ -364,7 +364,7 @@ router.post("/scores", RequirePermissions("submit_score"), async (req, res) => {
|
||||
|
||||
// If the import failed, AND the import failure WAS NOT that the chart didnt exist
|
||||
// report that error instead.
|
||||
if (importDoc.errors[0]?.type && importDoc.errors[0].type !== "KtDataNotFoundFailure") {
|
||||
if (importDoc.errors[0]?.type && importDoc.errors[0].type !== "KTDataNotFoundFailure") {
|
||||
logger.info(`USC Import Failed ${importDoc.errors[0].message}`, {
|
||||
importDoc,
|
||||
userID,
|
||||
|
||||
Reference in New Issue
Block a user