Return None in middleware