File tree Expand file tree Collapse file tree
Flow.ConfluenceSearch/ConfluenceClient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ CancellationToken cancellationToken
4848 . When ( "@me" )
4949 . ThenRemember ( "contributor = currentUser()" )
5050 . When ( @"@([\p{L}-]{2,})" )
51- . ThenRemember ( async input => [ $ "contributor.fullname ~ { input } "] )
51+ . ThenRemember ( input => Task . FromResult < IEnumerable < string > > ( [ $ "contributor.fullname ~ { input } "] ) )
5252 . Aggregate ( mem => $ "({ string . Join ( " OR " , mem ) } )")
5353 . When ( ".*" )
5454 . ThenRemember ( )
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ CancellationToken ct
3131
3232 return await resp
3333 . Content . ReadFromJsonAsync < ContentSearchResponse > ( cancellationToken : ct )
34- . ConfigureAwait ( false ) ;
34+ . ConfigureAwait ( false ) ?? throw new ApplicationException ( "Invalid response from Confluence API" ) ;
3535 }
3636}
You can’t perform that action at this time.
0 commit comments