From 379d27c76133fddf77b44e35f68a946ddc8bcf68 Mon Sep 17 00:00:00 2001 From: NickWang Date: Mon, 20 Jun 2022 10:54:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20uuid=20filebox=20for=20sm?= =?UTF-8?q?all=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: https://github.com/wechaty/puppet-service/pull/213 --- src/file-box-helper/normalize-filebox.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/file-box-helper/normalize-filebox.ts b/src/file-box-helper/normalize-filebox.ts index ff4dc863..55659bf3 100644 --- a/src/file-box-helper/normalize-filebox.ts +++ b/src/file-box-helper/normalize-filebox.ts @@ -27,9 +27,9 @@ const greenFileBoxTypes = [ * if it's bigger than the threshold, * then it should be convert to a UUID file box before send out */ -const yellowFileBoxTypes = [ - FileBoxType.Buffer, - FileBoxType.Base64, +const yellowFileBoxTypes: FileBoxType [] = [ + // FileBoxType.Buffer, + // FileBoxType.Base64, ] const canPassthrough = (fileBox: FileBoxInterface) => {