mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 08:15:55 +08:00
新增:项目邀请链接增加时间限制,以及show_link接口新增
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
json.(project_invite_link, :id, :role, :is_apply, :sign)
|
||||
|
||||
json.expired_at format_time(project_invite_link&.expired_at)
|
||||
json.user do
|
||||
json.partial! "/users/user_simple", locals: {user: project_invite_link.user}
|
||||
end
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
json.partial! 'detail', locals: { project_invite_link: @project_invite_link }
|
||||
Reference in New Issue
Block a user