Fix bug in scoreimportfatalerror handling

This commit is contained in:
zkldi
2021-11-03 03:27:19 +00:00
parent 54d9b18185
commit e60f6db291
@@ -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,