Skip to content

Commit bd396ca

Browse files
authored
fix: Fix ApiVersion header typo (#2467)
1 parent 8440f32 commit bd396ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public abstract class AbstractGoogleClientRequest<T> extends GenericData {
6969
* The generated request class will pass this constant as part of the header if the RPC supports
7070
* ApiVersion.
7171
*/
72-
protected static final String API_VERSION_HEADER = "X-Google-Api-Version";
72+
protected static final String API_VERSION_HEADER = "X-Goog-Api-Version";
7373

7474
/** Google client. */
7575
private final AbstractGoogleClient abstractGoogleClient;

0 commit comments

Comments
 (0)