From 57a106a19287f5dcde725af3f0d01ca393b4995a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=91=E3=81=A3=E3=81=A1?= Date: Sat, 12 Mar 2022 01:23:49 +0900 Subject: [PATCH] fix: wip --- packages/client/src/scripts/select-file-enc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/scripts/select-file-enc.ts b/packages/client/src/scripts/select-file-enc.ts index 34150d972..0b633b8cd 100644 --- a/packages/client/src/scripts/select-file-enc.ts +++ b/packages/client/src/scripts/select-file-enc.ts @@ -4,7 +4,7 @@ import { stream } from '@/stream'; import { i18n } from '@/i18n'; import { defaultStore } from '@/store'; import { DriveFile } from 'misskey-js/built/entities'; -import * as VideoConverter from 'convert-video'; +import { convert } from 'convert-video'; function select(src: any, label: string | null, multiple: boolean): Promise { return new Promise((res, rej) => { @@ -20,7 +20,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise