mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 01:35:56 +08:00
新增: webhooks文档使用新api地址
This commit is contained in:
@@ -23,13 +23,13 @@ class Api::V1::Users::Projects::ListService < ApplicationService
|
||||
|
||||
def call
|
||||
raise Error, errors.full_messages.join(", ") unless valid?
|
||||
# begin
|
||||
begin
|
||||
project_query_data
|
||||
|
||||
queried_projects
|
||||
# rescue
|
||||
# raise Error, "服务器错误,请联系系统管理员!"
|
||||
# end
|
||||
rescue
|
||||
raise Error, "服务器错误,请联系系统管理员!"
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user