Turning on the buzzer with LDR output

I was trying to make a small change to the project on anomaly detection (light monitoring system). Instead of sending a message through Twilio, the buzzer turns on when the light is switched off. However, I’m not able to get the right code for this. Can someone help me?

Yeah that is easy

inside the if block where you check the reading of LDR write the given code

mybolt.digitalWrite(your_GPIO_pin_number, ‘HIGH’) #where mybolt=Bolt(Api_key,Device_id)

Make sure your Buzzer is connected to device.