Skip to content

Commit 4c569f4

Browse files
AndyVadim Demedes
andauthored
Update src/connections/functions/destination-functions.md
Co-authored-by: Vadim Demedes <[email protected]>
1 parent fc5be56 commit 4c569f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/functions/destination-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function onGroup(event) {
102102
}
103103

104104
async function onPage(event) {
105-
if (!event.pageName) {
105+
if (!event.properties.pageName) {
106106
throw new ValidationError('Page name is required')
107107
}
108108
}

0 commit comments

Comments
 (0)