This commit is contained in:
Michel Roegl-Brunner
2025-03-17 15:35:16 +01:00
parent a5755b2bea
commit bdf2eb6188
2 changed files with 3 additions and 6 deletions

View File

@@ -45,7 +45,6 @@ export async function GET(request: Request) {
return NextResponse.json(matchedVersion);
} catch (error) {
const msg = console.error(error);
return NextResponse.json({name: msg, version: "No version found - Error"});
return NextResponse.json({name: error, version: "No version found - Error"});
}
}