Skip to content

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Jul 26, 2025

About

Kudos to @JIAQIA for submitting this.

This fixes a TypeError that occurred when trying to await HTTP method references instead of properly calling them. The changes:

  1. Remove incorrect await when assigning POST/GET method references
  2. Add proper await when actually making the request

The bug prevented successful POST requests in the async datasource query functionality.

References

JIAQIA and others added 2 commits July 26, 2025 22:53
This fixes a TypeError that occurred when trying to await HTTP method references
instead of properly calling them. The changes:

1. Remove incorrect `await` when assigning POST/GET method references
2. Add proper `await` when actually making the request

The bug prevented successful POST requests in the async datasource query functionality.
@amotl amotl requested review from Ousret and removed request for Ousret July 26, 2025 20:56
@amotl amotl closed this Jul 26, 2025
@amotl amotl deleted the fix-smartquery-async branch July 26, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants