Turns out, I didn't need that middleware