return data to use middleware() result inside middleware if users want to go full middleware hell

pull/39/head
Ciro 2022-11-16 10:55:09 -03:00
rodzic b380456fdc
commit 1c47511197
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -128,6 +128,7 @@ def middleware(*functions):
#stops if returns Falsy
if not data:
break
return data
return middleware_route