A man that secretly recorded his coworkers using the restroom also accidentally recorded himself installing the device, an arrest warrant affidavit says.
According to the San Antonio Express-News, police said Ray De la Cruz, 44, was arrested Thursday after a coworker found a recording device "taped to the back of a shelf of a storage locker located directly in front of the toilet."
The man later posted $10,000 bond after he was taken into custody by authorities.
The coworker at the unidentified business discovered De la Cruz's camera when he heard the device beep.
The man later admitted "he did in fact set up the camera to record persons who went to the restroom," the affidavit said, according to the San Antonio Express-News.
If he is convicted, De la Cruz faces up to two years in a state jail, the San Antonio Express-News reported.
Follow Oliver Darcy (@oliverdarcy) on Twitter