fixed gitea接口返回判断

This commit is contained in:
xiaoxiaoqiong 2022-06-15 11:16:08 +08:00
parent ce467736a7
commit 66c40d4791
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module Gitea
end
def success?
@error.nil?
@error.nil? && @result[:status].to_s == "success"
end
def result