lib/reapal/api/user/onekey_com_contract.rb in reapal-0.9.9 vs lib/reapal/api/user/onekey_com_contract.rb in reapal-0.9.10

- old
+ new

@@ -64,10 +64,10 @@ applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.com_contract_create, ['0002', '0006']) - if 'S' == res[:result] && '0003' == res[:data][:resultCode] + if 'P' == res[:result] && '0003' == res[:data][:resultCode] res[:result] = 'F' end res end