Resistor on transimpedance amplifier input?
Correct, it is not needed, yet more parts are needed for Vref above CM minimum and Cf for matched RfCf = RshCpd = diode values at desired optical current levels for best step response.

Then gain ratio may be selected to trade-off with rise time and sensitivity.

https://www.digikey.com/en/articles/techzone/2017/jul/design-transimpedance-amplifiers-for-precision-opto-sensing