Skip to content

Commit

Permalink
fixed google command
Browse files Browse the repository at this point in the history
  • Loading branch information
mikob committed Oct 25, 2018
1 parent ce1ef43 commit b956fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Google/Google.ts
Expand Up @@ -26,7 +26,7 @@ namespace GooglePlugin {
description: "Do a google search.",
global: true,
match: 'google *',
pageFn: async (searchQuery: string) => {
pageFn: async (transcript: string, searchQuery: string) => {
window.location.href = `https://www.google.com/search?q=${searchQuery}`;
}
},
Expand Down

0 comments on commit b956fa1

Please sign in to comment.