Skip to content

Commit 34b0525

Browse files
committed
fix(graph): support all versions of the Amp server
1 parent 783ed99 commit 34b0525

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graph/src/amp/client/flight_client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ impl Client for FlightClient {
134134
"amp-resume" => &metadata
135135
);
136136

137-
// TODO: Update the header name when the Amp server updates to the latest version
137+
raw_client.set_header("amp-resume", metadata.clone());
138+
139+
// TODO: Remove when the Amp server updates to the latest version
138140
raw_client.set_header("nozzle-resume", metadata);
139141
}
140142
}

0 commit comments

Comments
 (0)