fix: handle both /transactions and /_matrix/app/v1
This commit is contained in:
parent
387d5a25bc
commit
b021ae5941
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ class AppService:
|
|||
self.logger = logger if logger is not None else logging.getLogger(__file__)
|
||||
|
||||
self._app.add_routes([
|
||||
web.put('/transactions/{transaction}', lambda req: self._handler(req))
|
||||
web.put('/transactions/{transaction}', lambda req: self._handler(req)),
|
||||
web.put('/_matrix/app/v1/transactions/{transaction}', lambda req: self._handler(req)),
|
||||
])
|
||||
|
||||
async def _handler(self, request: web.Request) -> web.Response:
|
||||
|
|
Loading…
Reference in a new issue