mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
fixed a bug where 'appdata' wasn't supported as a root Google Drive path
This commit is contained in:
parent
8084b69b31
commit
254e815eac
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ CWL_SYNTHESIZE_SINGLETON_FOR_CLASS(GoogleDriveFactory)
|
|||
[lock lock];
|
||||
NSMutableDictionary *folderIdsByPath = [folderIdDictionariesByRefreshToken objectForKey:theRefreshToken];
|
||||
if (folderIdsByPath == nil) {
|
||||
folderIdsByPath = [NSMutableDictionary dictionaryWithObject:@"root" forKey:@"/"];
|
||||
folderIdsByPath = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"root", @"/", @"appdata", @"/appdata", nil];
|
||||
[folderIdDictionariesByRefreshToken setObject:folderIdsByPath forKey:theRefreshToken];
|
||||
}
|
||||
NSString *ret = [[[folderIdsByPath objectForKey:thePath] copy] autorelease];
|
||||
|
|
|
|||
Loading…
Reference in a new issue