mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
✨ Use the same value for created_at and tracked_at on audit
This commit is contained in:
parent
4e1e67fc3d
commit
797ae22526
1 changed files with 4 additions and 2 deletions
|
@ -143,11 +143,13 @@
|
|||
(defn- persist-event!
|
||||
[pool event]
|
||||
(us/verify! ::event event)
|
||||
(let [params {:id (uuid/next)
|
||||
(let [now (dt/now)
|
||||
params {:id (uuid/next)
|
||||
:name (:name event)
|
||||
:type (:type event)
|
||||
:profile-id (:profile-id event)
|
||||
:tracked-at (dt/now)
|
||||
:created-at now
|
||||
:tracked-at now
|
||||
:ip-addr (:ip-addr event)
|
||||
:props (:props event)}]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue