Skip to content

Commit

Permalink
fix: extraction create error
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd committed Apr 20, 2024
1 parent 195cc9d commit 8bbd8f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keep/api/routes/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def create_extraction_rule(
new_rule = ExtractionRule(
**rule_dto.dict(),
created_by=authenticated_entity.email,
tenant_id=authenticated_entity.tenant_id
tenant_id=authenticated_entity.tenant_id,
updated_at=datetime.datetime.now(datetime.timezone.utc),
updated_by=authenticated_entity.email,
)
session.add(new_rule)
session.commit()
Expand Down

0 comments on commit 8bbd8f3

Please sign in to comment.