WordPress/openverse-api

Rename `validate_images` to `validate_media`

AetherUnbound opened this issue · 2 comments

Description

The validate_images function/module is actually used to verify audio results as well as images. This can make the logs confusing, as audio results will show up with logs such as Image validation failed due to <x>.

We should rename both the module and the function to better reflect this behavior.

Additional context

See #884 for the original context

Resolution

  • 🙋 I would be interested in resolving this bug.

I think this is more or less a duplicate of WordPress/openverse#695, isn't it?

Oops, it is, thanks Sara! Closing this in favor of WordPress/openverse#695.