mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28: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
|
||||
*/
|
||||
async toObject<T>() {
|
||||
console.log(await this.determineContentType());
|
||||
try {
|
||||
switch (await this.determineContentType()) {
|
||||
case "application/json":
|
||||
|
|
|
|||
Loading…
Reference in a new issue