mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
Make status creation API more permissive
This commit is contained in:
parent
4cee92f22d
commit
325ecbfc53
3 changed files with 3 additions and 7 deletions
|
|
@ -98,8 +98,6 @@ export class RequestParser {
|
|||
const formData = await this.request.formData();
|
||||
const result: Partial<T> = {};
|
||||
|
||||
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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue