Skip to content

Commit

Permalink
Document the timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Boddin committed Sep 16, 2023
1 parent 553941c commit 87ec095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/src/models/api.app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const UpdateRequestApp = z.object({
pos: Position.optional(), // the current position of user
speed: z.number().optional(), // Speed in km/h
heading: z.number().optional(), // Heading of the vehicle between 0 and 359
timestamp: z.number().optional() // Timestamp of GPS measurement
timestamp: z.number().optional() // Timestamp of GPS measurement in milliseconds since epoch
})

//================ new
Expand Down

0 comments on commit 87ec095

Please sign in to comment.