API updates

This commit is contained in:
Nadja Reitzenstein 2022-04-24 23:07:25 +02:00
parent f996d09971
commit e6c6b530c8
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ async def connect(host, port, user, pw):
asyncio.gather(*coroutines, return_exceptions=True)
boot = client.bootstrap().cast_as(connection_capnp.Bootstrap)
auth = await boot.createSession("PLAIN").a_wait()
auth = boot.createSession("PLAIN")
p = "\0" + user + "\0" + pw
response = await auth.authentication.step(p).a_wait()
if response.which() == 'successful':

2
schema

@ -1 +1 @@
Subproject commit c9283ebd696ed6dd428a7c3d24820889f7ab4bf3
Subproject commit aea03aabe3d1322892c1896ba757ceeedb92ed73