Make license_url
a non-optional media property
#552
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
⛔ status: blocked
Blocked & therefore, not ready for work
Milestone
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#L24openverse/frontend/src/types/media.ts
Line 30 in 8ee33a6
Implementation
The text was updated successfully, but these errors were encountered: