already used fix

This commit is contained in:
Jesse Wierzbinski 2024-04-07 02:39:27 -10:00
parent ba712a33f3
commit 0d373b8866
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View file

@ -111,7 +111,7 @@ export class LogManager {
(content_type.includes("application/x-www-form-urlencoded") ||
content_type.includes("multipart/form-data"))
) {
const formData = await req.formData();
const formData = await req.clone().formData();
for (const [key, value] of formData.entries()) {
if (value.toString().length < 300) {
string += ` ${key}: ${value.toString()}\n`;