Fix query defaults

This commit is contained in:
Cyber MacGeddon 2025-09-05 00:15:32 +01:00
parent 45a765c00d
commit 5a363b82ef

View file

@ -111,11 +111,11 @@ class Processor(FlowProcessor):
else:
variables_as_strings[key] = str(value)
# For now, we'll use default user/collection values
# In a real implementation, these would come from authentication/context
# Use standard TrustGraph user/collection values
# These should eventually come from authentication/context
objects_request = ObjectsQueryRequest(
user="default", # TODO: Get from authentication context
collection="default", # TODO: Get from request context
user="trustgraph", # Standard TrustGraph user
collection="default", # Standard default collection
query=nlp_response.graphql_query,
variables=variables_as_strings,
operation_name=None