Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Use clientVersion option
Browse files Browse the repository at this point in the history
  • Loading branch information
skick1234 committed Oct 25, 2020
1 parent 1cc93db commit e17324b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.buildRequestBody = options => {
// Should change utcOffsetMinutes too, idk .-.
// if (options && options.gl) body.context.client.gl = options.gl;
// if (options && options.hl) body.context.client.hl = options.hl;

if (options && options.clientVersion) body.context.client.clientVersion = options.clientVersion;
// Search query or continuation token
if (!options.nextpageRef) body.query = options.query;
else body.continuation = options.nextpageRef;
Expand Down

0 comments on commit e17324b

Please sign in to comment.