Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorAvelar committed Jul 10, 2021
1 parent 0c124a6 commit 40d1c0f
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 28 deletions.
2 changes: 1 addition & 1 deletion commands/payment_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func createPaymentAction(cmd *cobra.Command, args []string) {
Method: m,
}

p, err := API.Payments.Create(p)
p, err := API.Payments.Create(p, nil)
if err != nil {
logger.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion commands/payment_create_prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func promptPaymentAction(cmd *cobra.Command, args []string) {
attachAccessTokenParams(&payment)
}

res, err := API.Payments.Create(payment)
res, err := API.Payments.Create(payment, nil)
if err != nil {
logger.Fatal(err)
}
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ go 1.15

require (
github.com/Rhymond/go-money v1.0.2
github.com/VictorAvelar/mollie-api-go/v2 v2.11.2
github.com/VictorAvelar/mollie-api-go/v2 v2.13.1
github.com/avocatl/admiral v0.4.0
github.com/mitchellh/go-homedir v1.1.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.1.3
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 // indirect
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
)
Loading

0 comments on commit 40d1c0f

Please sign in to comment.