staticmethod function has no self

This commit is contained in:
Emmanuel Garette 2021-05-23 21:39:09 +02:00
parent ef43b197a1
commit b6c5dccf17
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ class Controller:
)
@staticmethod
async def check_role(self,
uri: str,
async def check_role(uri: str,
username: str,
**kwargs: dict,
) -> None: