kopia lustrzana https://github.com/cirospaciari/socketify.py
return data to use middleware() result inside middleware if users want to go full middleware hell
rodzic
b380456fdc
commit
1c47511197
|
@ -128,6 +128,7 @@ def middleware(*functions):
|
|||
#stops if returns Falsy
|
||||
if not data:
|
||||
break
|
||||
return data
|
||||
|
||||
return middleware_route
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue