Skip to content

Commit e72952c

Browse files
committed
fix: error code type for unmarshaling
1 parent 562b714 commit e72952c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/idpay/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type IdPay struct {
1515
}
1616

1717
type ErrorResponse struct {
18-
ErrorCode int `json:"error_code"`
18+
ErrorCode any `json:"error_code"`
1919
ErrorMessage string `json:"error_message"`
2020
}
2121

0 commit comments

Comments
 (0)