Browse Source

新增:项目信息返回name

pull/347/head
yystopf 2 years ago
parent
commit
8edc150800
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/controllers/api/pm/projects_controller.rb

+ 2
- 1
app/controllers/api/pm/projects_controller.rb 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


Loading…
Cancel
Save