mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
fix onedrive filter
This commit is contained in:
parent
aff5a8b088
commit
996533328e
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user