新增:项目信息返回name

This commit is contained in:
yystopf 2024-01-13 08:26:15 +08:00
parent f9ce2a8b26
commit 8edc150800
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ class Api::Pm::ProjectsController < Api::Pm::BaseController
def convert
data = {
owner: @project.owner.try(:login),
identifier: @project.identifier
identifier: @project.identifier,
name: @project.name
}
render_ok(data: data)
end