Browse Source

fix

tags/v4.0.0^2
yystopf 4 years ago
parent
commit
18cf2ca78a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/topics/_pinned_forum.json.jbuilder

+ 1
- 1
app/views/topics/_pinned_forum.json.jbuilder View File

@@ -1,4 +1,4 @@
json.(pinned_forum, :id, :title, :url)
request_memo = Forum::Memos::GetService.call(experience_forum&.uuid)
request_memo = Forum::Memos::GetService.call(pinned_forum&.uuid)
json.visits request_memo.nil? ? 0 : request_memo["memo"]["viewed_count"]
json.created_time request_memo.nil? ? format_time(Time.now) : request_memo["memo"]["published_time"]

Loading…
Cancel
Save