lib/reapal/api/money/sub_account.rb in reapal-0.9.9 vs lib/reapal/api/money/sub_account.rb in reapal-0.9.10
- old
+ new
@@ -38,10 +38,10 @@
applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
}
res = operate_post(:operate, service, params, post_path, Http::ErrorCode.sub_account, ['0000'])
- if 'S' == res[:result] && '0001' == res[:data][:resultCode]
+ if 'P' == res[:result] && '0001' == res[:data][:resultCode]
res[:result] = 'F'
end
res
end