@@ -150,7 +150,7 @@ func (c *StoreClient) GetTransactionHistory(ctx context.Context, originalTransac
150
150
for {
151
151
rsp := HistoryResponse {}
152
152
client = SetRequest (ctx , client , http .MethodGet , URL + "?" + query .Encode ())
153
- client = SetResponseBodyHandler (client , json .Unmarshal , rsp )
153
+ client = SetResponseBodyHandler (client , json .Unmarshal , & rsp )
154
154
_ , err = client .Do (nil )
155
155
if err != nil {
156
156
return nil , err
@@ -185,7 +185,7 @@ func (c *StoreClient) GetRefundHistory(ctx context.Context, originalTransactionI
185
185
for {
186
186
rsp := RefundLookupResponse {}
187
187
client = SetRequest (ctx , client , http .MethodGet , URL )
188
- client = SetResponseBodyHandler (client , json .Unmarshal , rsp )
188
+ client = SetResponseBodyHandler (client , json .Unmarshal , & rsp )
189
189
_ , err = client .Do (nil )
190
190
if err != nil {
191
191
return nil , err
@@ -266,7 +266,7 @@ func (c *StoreClient) GetNotificationHistory(ctx context.Context, body Notificat
266
266
267
267
client = SetRequest (ctx , client , http .MethodPost , URL )
268
268
client = SetRequestBodyJSON (client , bodyBuf )
269
- client = SetResponseBodyHandler (client , json .Unmarshal , rsp )
269
+ client = SetResponseBodyHandler (client , json .Unmarshal , & rsp )
270
270
_ , err = client .Do (nil )
271
271
if err != nil {
272
272
return nil , err
0 commit comments