diff --git a/src/matrix/net/common.ts b/src/matrix/net/common.ts index 5239cf56..9c476dd6 100644 --- a/src/matrix/net/common.ts +++ b/src/matrix/net/common.ts @@ -35,8 +35,7 @@ export function encodeQueryParams(queryParams?: Record): string { .join("&"); } -export function encodeBody(body: BlobHandle | object): EncodedBody { - // todo: code change here +export function encodeBody(body: BlobHandle | Record): EncodedBody { if (body instanceof BlobHandle) { const blob = body as BlobHandle; return {