File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1692,7 +1692,7 @@ class OutlookClient extends BaseClient {
1692
1692
return {
1693
1693
mailboxId : mailbox . id ,
1694
1694
path : [ ]
1695
- . concat ( parentFolder ?. path || [ ] )
1695
+ . concat ( parentFolder ?. pathName || [ ] )
1696
1696
. concat ( mailbox . displayName )
1697
1697
. join ( '/' ) ,
1698
1698
created : true
@@ -2069,6 +2069,8 @@ class OutlookClient extends BaseClient {
2069
2069
2070
2070
path = [ ] . concat ( path || [ ] ) . join ( '/' ) ;
2071
2071
2072
+ console . log ( 'RESOLVING FOLDER' , { path, options } ) ;
2073
+
2072
2074
let cachedListing = await this . getCachedMailboxListing ( ) ;
2073
2075
let mailboxListing = cachedListing || ( await this . getMailboxListing ( ) ) ;
2074
2076
@@ -2100,7 +2102,7 @@ class OutlookClient extends BaseClient {
2100
2102
if ( / ^ i n b o x $ / i. test ( pathParts [ 0 ] ) ) {
2101
2103
let inboxFolder = mailboxListing . find ( entry => entry . specialUse === '\\Inbox' ) ;
2102
2104
if ( inboxFolder ) {
2103
- pathParts [ 0 ] = inboxFolder . path ;
2105
+ pathParts [ 0 ] = inboxFolder . pathName ;
2104
2106
}
2105
2107
}
2106
2108
path = pathParts . join ( '/' ) ;
You can’t perform that action at this time.
0 commit comments