fixed gitea接口返回判断
This commit is contained in:
parent
ce467736a7
commit
66c40d4791
|
@ -13,7 +13,7 @@ module Gitea
|
|||
end
|
||||
|
||||
def success?
|
||||
@error.nil?
|
||||
@error.nil? && @result[:status].to_s == "success"
|
||||
end
|
||||
|
||||
def result
|
||||
|
|
Loading…
Reference in New Issue