Skip to content

Commit 598cb0b

Browse files
committed
Fix mistake in disconnect timestamp field name
This was correct (matching the format) in the types and in existing usage elsewhere, but wrong in the actual data attached to events, so this optional field was effectively never set.
1 parent b591cff commit 598cb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/mockttp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ ${await this.suggestRule(request)}`
12841284
...eventData,
12851285
timingEvents: {
12861286
...eventData.timingEvents,
1287-
disconnectedTimestamp: now()
1287+
disconnectTimestamp: now()
12881288
}
12891289
});
12901290
});

0 commit comments

Comments
 (0)