Skip to content

Commit

Permalink
Revert "test: break tests"
Browse files Browse the repository at this point in the history
This reverts commit c3ad157.
  • Loading branch information
tomasz-stefaniak committed Jan 21, 2025
1 parent c9e2ebc commit b586598
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ class AutocompleteService(private val project: Project) {
({ response ->
widget?.setLoading(false)

val completions = response as List<*>
val responseObject = response as Map<*, *>
val completions = responseObject["content"] as List<*>

if (completions.isNotEmpty()) {
val completion = completions[0].toString()
Expand Down

0 comments on commit b586598

Please sign in to comment.