Light Detector giving only 1.02k reading

I have made the plant monitor which detects the light in an environment using the light detector and 10k ohm resistor. But I am getting same 1.02k reading despite changing the light. I also changed the resistor to 330 ohm but it is also giving same 1.02k reading.

Hiiiā€¦ @ritwikrishiyadav52 , completely switch off the light of your room, then take readings, also flash the torch screen light of your mobile phone and take different readings

I got the correct reading after connecting the resistor from GND to A0 pin instead of the 0 pin .