From e83a09c130cdb800eb07c362b1df5a3ab130d9a1 Mon Sep 17 00:00:00 2001 From: Vu Anh Date: Wed, 22 Jul 2020 18:28:14 +0700 Subject: [PATCH] Fix Update method for loyalty object --- loyaltyobject.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loyaltyobject.go b/loyaltyobject.go index b86689d..40d4b79 100644 --- a/loyaltyobject.go +++ b/loyaltyobject.go @@ -76,7 +76,7 @@ func (lc *LoyaltyObject) Metadata(ctx context.Context) (*LoyaltyObjectMetadata, return meta, nil } -func (lc *LoyaltyObject) Update(ctx context.Context, lom *LoyaltyObjectMetadata) (*LoyaltyObjectMetadata, error) { +func (lc *LoyaltyObject) Update(ctx context.Context, lom *LoyaltyObjectMetadataUpdate) (*LoyaltyObjectMetadata, error) { o, err := lom.toWO() if err != nil { return nil, err