mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Logggg
This commit is contained in:
parent
5d4af4adbd
commit
38b598b6b7
|
|
@ -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":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue