mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 17:55:56 +08:00
新增: 邀请项目链接接口文档
This commit is contained in:
@@ -13,7 +13,6 @@ class Projects::ProjectInviteLinksController < Projects::BaseController
|
||||
puts params_data
|
||||
Projects::ProjectInviteLinks::CreateForm.new(params_data).validate!
|
||||
@project_invite_link = ProjectInviteLink.create!(params_data.merge(sign: ProjectInviteLink.random_hex_sign))
|
||||
render_ok
|
||||
end
|
||||
rescue Exception => e
|
||||
uid_logger_error(e.message)
|
||||
|
||||
Reference in New Issue
Block a user