Skip to content

Commit

Permalink
Fix missing updatedBy updatedWhen in create
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgriff93 committed Oct 26, 2022
1 parent 5d36515 commit 0e594f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api_app/db/repositories/airlock_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def create_airlock_request_item(self, airlock_request_input: AirlockRequestInCre
type=airlock_request_input.type,
createdBy=user,
createdWhen=datetime.utcnow().timestamp(),
updatedBy=user,
updatedWhen=datetime.utcnow().timestamp(),
properties=resource_spec_parameters,
reviews=[]
)
Expand Down

0 comments on commit 0e594f5

Please sign in to comment.