Skip to content

Commit f38c44f

Browse files
redviviAhrar Monsur
authored andcommitted
docs: update typo analyze.js
1 parent 928b7f8 commit f38c44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

video-intelligence/analyze.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ async function analyzeSafeSearch(gcsUri) {
228228
];
229229

230230
// Detects unsafe content
231-
const [opertaion] = await client.annotateVideo(request);
231+
const [operation] = await client.annotateVideo(request);
232232
console.log('Waiting for operation to complete...');
233-
const [operationResult] = await opertaion.promise();
233+
const [operationResult] = await operation.promise();
234234
// Gets unsafe content
235235
const explicitContentResults =
236236
operationResult.annotationResults[0].explicitAnnotation;

0 commit comments

Comments
 (0)