Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

14
backend/node_modules/fastify/lib/error-status.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
'use strict'
const {
kReplyHasStatusCode
} = require('./symbols')
function setErrorStatusCode (reply, err) {
if (!reply[kReplyHasStatusCode] || reply.statusCode === 200) {
const statusCode = err && (err.statusCode || err.status)
reply.code(statusCode >= 400 ? statusCode : 500)
}
}
module.exports = { setErrorStatusCode }