diff --git a/packages/request-parser/index.ts b/packages/request-parser/index.ts index 616fee69..4aed5ee7 100644 --- a/packages/request-parser/index.ts +++ b/packages/request-parser/index.ts @@ -21,7 +21,6 @@ export class RequestParser { * @throws Error if body is invalid */ async toObject() { - console.log(await this.determineContentType()); try { switch (await this.determineContentType()) { case "application/json": @@ -99,6 +98,8 @@ export class RequestParser { const formData = await this.request.formData(); const result: Partial = {}; + console.log([...formData.entries()]); + for (const [key, value] of formData.entries()) { if (value instanceof Blob) { result[key as keyof T] = value as T[keyof T];