Commit 0435e7e
committed
fix: reset createdAt on re-link so linkedAt reflects latest link time
The onConflictDoUpdate block was missing createdAt: now, causing
listForUser/getForUser to expose a stale linkedAt timestamp (mapped
from createdAt) when an environment is re-linked after revoke.1 parent e0bace7 commit 0435e7e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
0 commit comments