微信动态不显示的BUG修复

This commit is contained in:
yuanke 2016-11-11 19:52:30 +08:00
parent d040d2efd1
commit 369f6eb9f7
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#coding=utf-8
module Mobile
module Entities
class Issue <Grape::Entity
@ -19,7 +20,7 @@ module Mobile
when :issue_priority
get_issue_priority_api issue.priority_id
when :issue_assigned_to
(get_user(issue.assigned_to_id)).login
issue.assigned_to_id.nil? ? "未指派" : (get_user(issue.assigned_to_id)).login
when :issue_status
IssueStatus.find(issue.status_id).name
when :comment_count