Skip to content

Commit

Permalink
[STTNHUB-313] fix: Set coverage item state to published when linking (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkLark86 authored Feb 22, 2024
1 parent 9b17d1c commit 27d6203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/stt/signal_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from superdesk import get_resource_service, signals
from superdesk.factory.app import SuperdeskEve
from superdesk.metadata.utils import generate_guid
from superdesk.metadata.item import GUID_NEWSML
from superdesk.metadata.item import GUID_NEWSML, CONTENT_STATE

from planning.common import WORKFLOW_STATE, ASSIGNMENT_WORKFLOW_STATE, get_coverage_status_from_cv
from planning.signals import planning_ingested
Expand Down Expand Up @@ -301,4 +301,5 @@ def _link_assignment_and_content(
"assignment_id": assignment_id,
"item_id": content_id,
"skip_archive_update": skip_archive_update,
"item_state": CONTENT_STATE.PUBLISHED,
}])

0 comments on commit 27d6203

Please sign in to comment.