feat: add posts

This commit is contained in:
firedotguy
2026-01-29 21:01:51 +03:00
parent d6505014a2
commit c2866a9d28
3 changed files with 84 additions and 8 deletions

View File

@@ -17,6 +17,3 @@ def unlike_comment(token: str, comment_id: str):
def delete_comment(token: str, comment_id: str):
return fetch(token, 'delete', f'comments/{comment_id}')
def update_comment(token: str, comment_id: str, content: str):
return fetch(token, 'put', f'comments/{comment_id}', {'content': content})