mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
修改commits的错误提示
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
Rails.logger.info("#######_______@hash_commit______############{@hash_commit}")
|
||||
if @hash_commit[:status].present? #如果有状态值,则表示报错了
|
||||
if @hash_commit.blank? #如果有状态值,则表示报错了
|
||||
json.total_count 0
|
||||
json.commits []
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user