Skip to content

Commit f856f86

Browse files
committed
Refactor: Use current epoch in eventV1 and eventV2 sample
Refactor: Use current epoch in eventV1 and eventV2 sample
1 parent 3d52575 commit f856f86

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eventV1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"protocol": "HTTP/1.1",
6969
"requestId": "id=",
7070
"requestTime": "04/Mar/2020:19:15:17 +0000",
71-
"requestTimeEpoch": 1583349317135,
71+
"requestTimeEpoch": 1698901826000,
7272
"resourceId": null,
7373
"resourcePath": "/my/path",
7474
"stage": "$default"

eventV2.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"requestId": "id",
5555
"routeKey": "$default",
5656
"stage": "$default",
57-
"time": "12/Mar/2020:19:03:58 +0000"
57+
"time": "12/Mar/2020:19:03:58 +0000",
58+
"timeEpoch": 1698901826000
5859
},
5960
"body": "Hello from Lambda",
6061
"pathParameters": {

0 commit comments

Comments
 (0)