Article commenting bugfix
This commit is contained in:
parent
1e7c9a395e
commit
eed244deb5
@ -5,7 +5,7 @@
|
|||||||
__author__ = """Eriks Karls"""
|
__author__ = """Eriks Karls"""
|
||||||
__email__ = 'eriks@72.lv'
|
__email__ = 'eriks@72.lv'
|
||||||
__version__ = '0.20.0'
|
__version__ = '0.20.0'
|
||||||
__commit_id__ = "7aa353b"
|
__commit_id__ = "1e7c9a3"
|
||||||
|
|
||||||
from erepublik import classes, utils
|
from erepublik import classes, utils
|
||||||
from erepublik.citizen import Citizen
|
from erepublik.citizen import Citizen
|
||||||
|
@ -1265,7 +1265,7 @@ class CitizenMedia(BaseCitizen):
|
|||||||
|
|
||||||
def write_article_comment(self, message: str, article_id: int, parent_id: int = None) -> Response:
|
def write_article_comment(self, message: str, article_id: int, parent_id: int = None) -> Response:
|
||||||
self._report_action("ARTICLE_COMMENT", f"Wrote a comment to article ({article_id})",
|
self._report_action("ARTICLE_COMMENT", f"Wrote a comment to article ({article_id})",
|
||||||
msg=message, article_id=article_id, parent_id=parent_id)
|
kwargs=dict(msg=message, article_id=article_id, parent_id=parent_id))
|
||||||
return self._post_main_article_comments_create(message, article_id, parent_id)
|
return self._post_main_article_comments_create(message, article_id, parent_id)
|
||||||
|
|
||||||
def publish_article(self, title: str, content: str, kind: int) -> int:
|
def publish_article(self, title: str, content: str, kind: int) -> int:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user