File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/cascadia/QueryExtension Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,6 @@ namespace winrt::Microsoft::Terminal::Query::Extension::implementation
247
247
248
248
// Make sure we are on the background thread for the http request
249
249
auto strongThis = get_strong ();
250
-
251
250
co_await winrt::resume_background ();
252
251
auto cancellationToken{ co_await winrt::get_cancellation_token () };
253
252
@@ -297,7 +296,7 @@ namespace winrt::Microsoft::Terminal::Query::Extension::implementation
297
296
}
298
297
else
299
298
{
300
- const auto choices = jsonResult.GetNamedArray (L" ayy " );
299
+ const auto choices = jsonResult.GetNamedArray (choicesKey );
301
300
const auto firstChoice = choices.GetAt (0 ).GetObject ();
302
301
const auto messageObject = firstChoice.GetNamedObject (messageKey);
303
302
message = messageObject.GetNamedString (contentKey);
You can’t perform that action at this time.
0 commit comments