niahmiah / mongoose-uuid

uuid type for mongoose
21 stars 24 forks source link

Fix required validation #3

Closed ChristianKuhn closed 7 years ago

ChristianKuhn commented 8 years ago

This PR fixes 'required' validation. I'm not sure why you are checking if value is instance Array as a requirement, but this should fix it.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 73.469% when pulling c4ef6a01fa03c7fe313bb1c88537d18ba28a6051 on ChristianKuhn:patch-1 into 7df5ef2a74ae8c08c624df37ab4b0d271184e3aa on niahmiah:master.