Commit abec951
fix(directory-sync): deserialize EventDirectory timestamps to Date
createdAt/updatedAt on webhook directory event payloads were left as raw
strings while every other directory-sync serializer (REST resources and
the dsync.group.*/dsync.user.* event serializers) converts date-time
fields to Date. event-directory.* is hand-owned, so the emitter's
date-time -> new Date() rule never reached it. Bring it in line so all
directory-sync timestamps are consistently Date objects.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 68be40e commit abec951
2 files changed
Lines changed: 6 additions & 6 deletions
File tree
- src/directory-sync
- interfaces
- serializers
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments