openverse-frontend icon indicating copy to clipboard operation
openverse-frontend copied to clipboard

Make `license_url` a non-optional media property

Open obulat opened this issue 3 years ago • 0 comments

Blocked by the work in the Catalog and API.

Problem

Currently, we set the license_url as an optional property for media, but it should be available for all media items.

Description

After normalizing the data in the catalog/API, we should set it as required. https://github.com/WordPress/openverse-frontend/blob/fd2c7fba20b48535981dcd1167ce0ea3799fb36a/src/models/media.ts#L24

Implementation

  • [ ] 🙋 I would be interested in implementing this feature.

obulat avatar May 20 '22 10:05 obulat