parent
0b92ff9427
commit
5dd5b357f3
|
@ -30,7 +30,7 @@ type NewDeveloperWorkflowWrapper struct {
|
|||
}
|
||||
|
||||
// NewDeveloperWorkflow is a Temporal workflow
|
||||
func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) error { //nolint:funlen,gocritic,lll // don't care
|
||||
func NewDeveloperWorkflow(ctx workflow.Context, w NewDeveloperWorkflowWrapper) error { //nolint:gocritic // don't care
|
||||
ctx = workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
|
||||
StartToCloseTimeout: time.Minute,
|
||||
})
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
// StorePaymentMethodActivity posts a new paymentmethod object to datastore
|
||||
func StorePaymentMethodActivity(ctx workflow.Context, w app.PaymentMethodActivityWrapper) error { //nolint:gocritic // don't care
|
||||
func StorePaymentMethodActivity(ctx workflow.Context, w app.PaymentMethodActivityWrapper) error { //nolint:gocritic,lll // don't care
|
||||
postPaymentMethodParams := payment_method.NewPostPaymentMethodsParamsWithTimeout(postTimeout)
|
||||
obj := &ops_models.PaymentMethod{
|
||||
AccountID: w.AccountID,
|
||||
|
|
Loading…
Reference in New Issue