Skip to content

Commit 1caabe1

Browse files
committed
update signature of update_profile_picture
1 parent e3e6f3f commit 1caabe1

File tree

1 file changed

+3
-3
lines changed
  • src/domain/auth/users/interfaces/ma

1 file changed

+3
-3
lines changed

src/domain/auth/users/interfaces/ma/mao.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ class MAO(BaseInterface):
2626
"""
2727

2828
@abstractmethod
29-
async def update_profile_picture(self, data: bytes, album_id: int) -> str:
29+
async def update_profile_picture(self, data: bytes, user_id: int) -> str:
3030
"""
31-
Changes album cover
31+
Changes user's profile picture
3232
33-
:param album_id: album's numeric identificator
33+
:param user_id: user's numeric identificator
3434
:param data: file data in bytes format
3535
:return: cover's URL
3636
:raise NotImplementedError: when called directly by abstract class instance

0 commit comments

Comments
 (0)