Skip to content

Commit

Permalink
Fix follow record and unfollow record
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliczsh committed Jul 3, 2023
1 parent 3d778ae commit 89fbf51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ List of Implemented API Calls:
### Development

```bash
python -m venv venv
source venv/bin/activate
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```

Expand Down
4 changes: 2 additions & 2 deletions gokyuzu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def followRecord(self, handle=None, user_did=None):
raise ValueError("Invalid username")

follow_request_data = {
"repo": self.DID,
"repo": self.SESSION.DID,
"record": {
"subject": user_did,
"createdAt": BlueskyHelper.getTimestamp(),
Expand All @@ -317,7 +317,7 @@ def unfollowRecord(self, handle=None, user_did=None):
raise ValueError("Invalid username")

unfollow_request_data = {
"repo": self.DID,
"repo": self.SESSION.DID,
"record": {
"subject": user_did,
"createdAt": BlueskyHelper.getTimestamp(),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.poetry]
name = "gokyuzu"
version = "2.0.3"
version = "2.0.4"
description = "bsky.social client library"
authors = ["Muhammed Kılıç <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='gokyuzu',
version='2.0.3',
version='2.0.4',
description='bsky.social client library',
long_description=open('README.md', 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 89fbf51

Please sign in to comment.