mirror of
https://github.com/maubot/maubot
synced 2025-09-07 22:00:39 +00:00
Refactor management API impl
This commit is contained in:
parent
c7d16a5d46
commit
057ccc1914
5 changed files with 55 additions and 28 deletions
|
@ -17,7 +17,7 @@ from typing import Callable, Awaitable
|
|||
from aiohttp import web
|
||||
|
||||
from .responses import ErrNoToken, ErrInvalidToken, ErrPathNotFound, ErrMethodNotAllowed
|
||||
from . import is_valid_token
|
||||
from .auth import is_valid_token
|
||||
|
||||
Handler = Callable[[web.Request], Awaitable[web.Response]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue