From 60c650d448caa0da4bdc540e715ccdd7146234e6 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 4 Jul 2021 18:23:06 +0100 Subject: [PATCH] Fix: Wrong type for attachment size. --- package.json | 2 +- src/api/objects.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aed54f82..03716713 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "revolt.js", - "version": "4.3.3-alpha.7", + "version": "4.3.3-alpha.8", "main": "dist/index.js", "repository": "https://gitlab.insrt.uk/revolt/revolt.js", "author": "Paul Makles ", diff --git a/src/api/objects.ts b/src/api/objects.ts index eed66666..48700029 100644 --- a/src/api/objects.ts +++ b/src/api/objects.ts @@ -47,7 +47,7 @@ export type AttachmentMetadata = ( export type Attachment = { _id: string, tag: string, - size: string, + size: number, filename: string, metadata: AttachmentMetadata, content_type: string,