Skip to content

Commit

Permalink
chore: Userモデルのnameをnicknameに変える close #17
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Nov 4, 2022
1 parent 827adac commit 2a7a956
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Added
### Changed

- todo
- `IUserLite``ILiteUser` に変更しました
- `LiteUser` の属性 `name``nickname` に変更しました。 `LiteUser` を継承しているクラスも同様に変更されていますのでご注意ください。

## [0.2.0] - 2022-11-02

Expand Down
2 changes: 1 addition & 1 deletion mipac/models/lite/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def host(self) -> str | None:
return self.__user['host']

@property
def name(self) -> str:
def nickname(self) -> str:
return self.__user['name']

@property
Expand Down

0 comments on commit 2a7a956

Please sign in to comment.