diff --git a/KeeAnywhere/StorageProviders/GoogleDrive/GoogleDriveHelper.cs b/KeeAnywhere/StorageProviders/GoogleDrive/GoogleDriveHelper.cs index 908e8a4..2788804 100644 --- a/KeeAnywhere/StorageProviders/GoogleDrive/GoogleDriveHelper.cs +++ b/KeeAnywhere/StorageProviders/GoogleDrive/GoogleDriveHelper.cs @@ -88,6 +88,7 @@ public static async Task GetClient(TokenResponse token) public static async Task GetFileByPath(this DriveService api, string path) { + if (path == "" ) return await api.Files.Get("root").ExecuteAsync(); var parts = path.Split('/'); File file = null;