Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Dec 16, 2024
1 parent 2640c8c commit 8db4251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/query-engine-node-api/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl QueryEngine {

async move {
let handler = RequestHandler::new(engine.executor(), engine.query_schema(), engine.engine_protocol());
let mut response = handler.handle(query, tx_id.map(TxId::from), trace_parent).await;
let response = handler.handle(query, tx_id.map(TxId::from), trace_parent).await;

let serde_span = tracing::info_span!("prisma:engine:response_json_serialization", user_facing = true);
Ok(serde_span.in_scope(|| serde_json::to_string(&response))?)
Expand Down

0 comments on commit 8db4251

Please sign in to comment.