Skip to content

Commit 6dacb94

Browse files
separate streams by new line
1 parent e8c8e81 commit 6dacb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/http/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ pub async fn query(req: HttpRequest, query_request: Query) -> Result<HttpRespons
151151
error!("Failed to parse record batch into JSON: {}", e);
152152
json!({})
153153
});
154-
Ok(Bytes::from(response.to_string()))
154+
Ok(Bytes::from(format!("{}\n", response.to_string())))
155155
}
156156
Err(e) => Err(actix_web::error::ErrorInternalServerError(e)),
157157
}

0 commit comments

Comments
 (0)