fix: onedrive orgs selection

This commit is contained in:
hurxxxx
2025-04-15 00:27:59 +09:00
parent 5fd794612e
commit 2d7062fc99
4 changed files with 56 additions and 34 deletions

View File

@@ -1063,9 +1063,9 @@
);
}
}}
uploadOneDriveHandler={async () => {
uploadOneDriveHandler={async (authorityType) => {
try {
const fileData = await pickAndDownloadFile();
const fileData = await pickAndDownloadFile(authorityType);
if (fileData) {
const file = new File([fileData.blob], fileData.name, {
type: fileData.blob.type || 'application/octet-stream'