Skip to content

Commit

Permalink
chore!: Client.actionをClient.apiに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Oct 4, 2022
1 parent 0b8eddd commit 2187876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- change class name `PinnedNotePayload` -> `IPinnedNote`
- change class name `ChannelPayload` -> `IChannel`
- change class name `NotePayload` -> `INote`
- **BREAKING CHANGE** renamed `Client.action` to `Client.api`.

### Removed

Expand Down
2 changes: 1 addition & 1 deletion mipac/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(
self.http: HTTPClient = HTTPClient(url, token)

@property
def action(self):
def api(self):
return ClientActions(self.http, self.__config)

async def close_session(self):
Expand Down

0 comments on commit 2187876

Please sign in to comment.