Skip to content

Commit

Permalink
Merge pull request #440 from zt-pawer/main
Browse files Browse the repository at this point in the history
Fix #439
  • Loading branch information
WolfgangSenff authored Oct 19, 2024
2 parents 5765439 + ab19bff commit 52c17c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot-firebase/firestore/firestore.gd
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func query(query : FirestoreQuery) -> Array:
var task : FirestoreTask = FirestoreTask.new()
task.action = FirestoreTask.Task.TASK_QUERY
var body: Dictionary = { structuredQuery = query.query }
var url: String = _base_url + _extended_url + _query_suffix
var url: String = _base_url + _extended_url + query.sub_collection_path + _query_suffix

task.data = query
task._fields = JSON.stringify(body)
Expand Down
1 change: 1 addition & 0 deletions addons/godot-firebase/firestore/firestore_query.gd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const TEMPLATE_QUERY: Dictionary = {

var query: Dictionary = {}
var aggregations: Array[Dictionary] = []
var sub_collection_path: String = ""

enum OPERATOR {
# Standard operators
Expand Down

0 comments on commit 52c17c9

Please sign in to comment.