Commit 358a03b8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Properly check if we should be checking for a resource's reviews

parent 37e166ae
......@@ -208,7 +208,7 @@ void OdrsReviewsBackend::reviewsFetched()
Rating * OdrsReviewsBackend::ratingForApplication(AbstractResource *app) const
{
if (app->isTechnical()) {
if (app->appstreamId().isEmpty()) {
return nullptr;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment