mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
already used fix
This commit is contained in:
parent
ba712a33f3
commit
0d373b8866
|
|
@ -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`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue