mirror of
https://github.com/docmost/docmost.git
synced 2026-08-28 17:27:06 +08:00
@@ -49,7 +49,7 @@ export class ImportService {
|
||||
userId: string,
|
||||
spaceId: string,
|
||||
workspaceId: string,
|
||||
): Promise<void> {
|
||||
) {
|
||||
const file = await filePromise;
|
||||
const fileBuffer = await file.toBuffer();
|
||||
const fileExtension = path.extname(file.filename).toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user