Skip to content

Commit 548598f

Browse files
committed
add post url to summary
1 parent 4d7fb30 commit 548598f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

python_catalyst/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""PRODAFT CATALYST API client package."""
22

3-
__version__ = "0.1.0"
3+
__version__ = "0.1.5"
44

55
from .client import CatalystClient
66
from .enums import ObservableType, PostCategory, TLPLevel

python_catalyst/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,9 @@ def create_report_from_member_content_with_references(
703703
# )
704704
# content = detailed_content.get("content", "")
705705
content = summary or description
706+
post_url = f"https://catalyst.prodaft.com/report/{content_id}" # noqa: E231
707+
content += f"\n Access the full content at: {post_url}"
708+
706709
report = self.converter.create_report(
707710
content_id=content_id,
708711
title=title,

0 commit comments

Comments
 (0)