v0.1.22 v0.1.22
Vernon Keenan 2021-01-19 13:20:11 -08:00
parent 0b92ff9427
commit 5dd5b357f3
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ type NewDeveloperWorkflowWrapper struct {
} }
// NewDeveloperWorkflow is a Temporal workflow // 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{ ctx = workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
StartToCloseTimeout: time.Minute, StartToCloseTimeout: time.Minute,
}) })

View File

@ -9,7 +9,7 @@ import (
) )
// StorePaymentMethodActivity posts a new paymentmethod object to datastore // 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) postPaymentMethodParams := payment_method.NewPostPaymentMethodsParamsWithTimeout(postTimeout)
obj := &ops_models.PaymentMethod{ obj := &ops_models.PaymentMethod{
AccountID: w.AccountID, AccountID: w.AccountID,