Skip to content

Commit

Permalink
Clarify status vs reason
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound committed Dec 26, 2023
1 parent acd6da0 commit 6d9865f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ the following steps will need to be taken:
- `AbstractMatureMedia` -> `AbstractSensitiveMedia`
- `MatureImage` -> `SensitiveImage`
- `MatureAudio` -> `SensitiveAudio`
2. Add `sensitive` and `sensitive_filtered` as new statuses for the
`AbstractMediaReport` class. Also add `sensitive_filtered` as to the check
for
2. Add `sensitive` and `sensitive_filtered` as a new status and reason
respectively for the `AbstractMediaReport` class. Also add
`sensitive_filtered` as to the check for
[creating sensitive media records](https://github.com/WordPress/openverse/blob/aa16d4f1be7607b12c428886b9890bdd947cc71c/api/api/models/media.py#L224).
Instance of `mature` that are supplied for the reporting endpoints should be
converted to `sensitive`.
Expand Down

0 comments on commit 6d9865f

Please sign in to comment.