@@ -88,7 +88,7 @@ func (r *MQTTReporter) uploadPhotoToImagServers(imgFile string) {
}
-func (r *MQTTReporter) CountOldPhotos(dir string) (int, error) {
+func (r *MQTTReporter) countOldPhotos(dir string) (int, error) {
files, err := os.ReadDir(dir)
if err != nil {
return 0, err