Skip to content

Commit

Permalink
Merge pull request #28 from hieupm2096/fix/with-api-key
Browse files Browse the repository at this point in the history
fix(api): add additional headers to concrete impl of google vision
  • Loading branch information
faithoflifedev authored Dec 11, 2024
2 parents d51e7da + 8323dea commit f1490c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/google_vision_flutter/lib/src/google_vision.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ class GoogleVision with UiLoggy implements gv.GoogleVision {
String apiKey, {
Map<String, String>? additionalHeaders,
}) {
_googleVision.withApiKey(apiKey);
_googleVision.withApiKey(
apiKey,
additionalHeaders: additionalHeaders,
);

return this;
}
Expand Down

0 comments on commit f1490c8

Please sign in to comment.