Skip to content

Commit

Permalink
fix(provider): linearb to accept issued_at (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren authored Apr 10, 2024
1 parent c410710 commit 3b02914
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keep/providers/linearb_provider/linearb_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def _notify(
ended_at="",
git_ref="",
should_delete="",
issued_at="",
**kwargs: dict,
):
"""
Expand Down Expand Up @@ -165,7 +166,7 @@ def _notify(
"At least 1 team is required for creating an incident"
)

issued_at = datetime.datetime.now().isoformat()
issued_at = issued_at or datetime.datetime.now().isoformat()

payload = {
"provider_id": incident_id,
Expand Down

0 comments on commit 3b02914

Please sign in to comment.