This commit is contained in:
Jesse Wierzbinski 2024-04-14 02:47:04 -10:00
parent 5d4af4adbd
commit 38b598b6b7
No known key found for this signature in database

View file

@ -21,6 +21,7 @@ export class RequestParser {
* @throws Error if body is invalid * @throws Error if body is invalid
*/ */
async toObject<T>() { async toObject<T>() {
console.log(await this.determineContentType());
try { try {
switch (await this.determineContentType()) { switch (await this.determineContentType()) {
case "application/json": case "application/json":