Skip to content

Commit e02bd62

Browse files
committed
fix(storage-resize-images): add missing recordStartEvent call
1 parent 8276922 commit e02bd62

File tree

1 file changed

+4
-0
lines changed
  • storage-resize-images/functions/src

1 file changed

+4
-0
lines changed

storage-resize-images/functions/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ const generateResizedImageHandler = async (
5858
if (!shouldResize(object)) {
5959
return;
6060
}
61+
events.recordStartEvent({
62+
subject: object.name,
63+
data: object,
64+
});
6165

6266
const bucket = admin.storage().bucket(object.bucket);
6367
const filePath = object.name; // File path in the bucket.

0 commit comments

Comments
 (0)