mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 19:38:13 +03:00
Fix bug in scoreimportfatalerror handling
This commit is contained in:
@@ -47,7 +47,7 @@ export async function ExpressWrappedScoreImportMain<D, C>(
|
||||
if (err instanceof ScoreImportFatalError) {
|
||||
logger.info(err.message);
|
||||
return {
|
||||
statusCode: 400,
|
||||
statusCode: err.statusCode,
|
||||
body: {
|
||||
success: false,
|
||||
description: err.message,
|
||||
|
||||
Reference in New Issue
Block a user