|
@@ -32,7 +32,7 @@ class QuestionTransformer extends TransformerAbstract
|
|
return [
|
|
return [
|
|
'id' => $interestCircle['id'],
|
|
'id' => $interestCircle['id'],
|
|
'join_question' => $this->formatQuestion($interestCircle),
|
|
'join_question' => $this->formatQuestion($interestCircle),
|
|
- 'answer_count' => $answer > 0 ? $answer : 0
|
|
+ 'answer_count' => $answer
|
|
];
|
|
];
|
|
}
|
|
}
|
|
|
|
|