Commit f38094b774762a4a97d1b727ea98dd384f53791c

Authored by jasl
1 parent db2c87b4
Exists in master

fix authenticate_from_weapp followed by #104

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/wx_pay/service.rb
@@ -58,7 +58,7 @@ module WxPay @@ -58,7 +58,7 @@ module WxPay
58 ::JSON.parse(RestClient::Request.execute( 58 ::JSON.parse(RestClient::Request.execute(
59 { 59 {
60 method: :get, 60 method: :get,
61 - payload: payload, 61 + headers: {params: payload},
62 url: url 62 url: url
63 }.merge(options) 63 }.merge(options)
64 ), quirks_mode: true) 64 ), quirks_mode: true)