fix onedrive filter

This commit is contained in:
fyears 2024-03-17 15:31:32 +08:00
parent aff5a8b088
commit 996533328e
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ export const listAllFromRemote = async (client: WrappedOnedriveClient) => {
// unify everything to Entity
const unifiedContents = driveItems
.map((x) => fromDriveItemToEntity(x, client.remoteBaseDir))
.filter((x) => x.key !== "/");
.filter((x) => x.keyRaw !== "/");
return unifiedContents;
};