Closed MrOrz closed 1 year ago
In https://github.com/cofacts/rumors-api/pull/293 we introduced status field for articles, but we set all article's status to NORMAL.
status
articles
NORMAL
In this PR, we apply changes similar to other APIs to determine the default status of an article by if the user is blocked.
Coverage: 88.003%. Remained the same when pulling 5ae648a7556ffe745273160d3ad43195160979ef on block-new-articles into 6fa6dc1bf7ae443afe40bc425fe63fbe6e6ce828 on master.
In https://github.com/cofacts/rumors-api/pull/293 we introduced
status
field forarticles
, but we set all article's status toNORMAL
.In this PR, we apply changes similar to other APIs to determine the default status of an article by if the user is blocked.