mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix typo in assert statement (#419)
This commit is contained in:
parent
b66056aa34
commit
0c55553328
|
|
@ -147,7 +147,7 @@ def get_websocket_app(
|
|||
if errors:
|
||||
await websocket.close(code=WS_1008_POLICY_VIOLATION)
|
||||
raise WebSocketRequestValidationError(errors)
|
||||
assert dependant.call is not None, "dependant.call must me a function"
|
||||
assert dependant.call is not None, "dependant.call must be a function"
|
||||
await dependant.call(**values)
|
||||
|
||||
return app
|
||||
|
|
|
|||
Loading…
Reference in New Issue