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