To hold a landlord liable, the plaintiff must establish the landlord's knowledge of the dog's presence and its vicious propensities. Knowledge of the dog's vicious propensities may be established by proof of prior similar acts of which the defendant had notice.
Almodovar v. New York City Hous. Auth., NY Slip Op 08129 (1st Dep't November 12, 2019)
Here is the decision.