mirror of https://gitlab.com/litecord/litecord.git
gateway: pass version as int to websocket properties
This commit is contained in:
parent
12373bd02f
commit
3c046cb34d
|
|
@ -54,7 +54,7 @@ async def websocket_handler(app, ws, url):
|
||||||
|
|
||||||
async with app.app_context():
|
async with app.app_context():
|
||||||
gws = GatewayWebsocket(
|
gws = GatewayWebsocket(
|
||||||
ws, v=gw_version, encoding=gw_encoding, compress=gw_compress
|
ws, v=int(gw_version), encoding=gw_encoding, compress=gw_compress
|
||||||
)
|
)
|
||||||
|
|
||||||
# this can be run with a single await since this whole coroutine
|
# this can be run with a single await since this whole coroutine
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue