Skip to content

Commit eb46792

Browse files
hunghwvinay-google
andauthored
fix: typo shoud -> should (googleworkspace#373)
Co-authored-by: Vinay Vyas <[email protected]>
1 parent f350e9e commit eb46792

File tree

1 file changed

+2
-2
lines changed
  • solutions/automations/vacation-calendar

1 file changed

+2
-2
lines changed

solutions/automations/vacation-calendar/Code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function findEvents(user, keyword, start, end, optSince) {
134134
continue;
135135
}
136136
events = events.concat(response.items.filter(function(item) {
137-
return shoudImportEvent(user, keyword, item);
137+
return shouldImportEvent(user, keyword, item);
138138
}));
139139
pageToken = response.nextPageToken;
140140
} while (pageToken);
@@ -149,7 +149,7 @@ function findEvents(user, keyword, start, end, optSince) {
149149
* @param {Calendar.Event} event The event being considered.
150150
* @return {boolean} True if the event should be imported.
151151
*/
152-
function shoudImportEvent(user, keyword, event) {
152+
function shouldImportEvent(user, keyword, event) {
153153
// Filters out events where the keyword did not appear in the summary
154154
// (that is, the keyword appeared in a different field, and are thus
155155
// is not likely to be relevant).

0 commit comments

Comments
 (0)