Skip to content

Commit

Permalink
Merge pull request #26 from buivuanh/master
Browse files Browse the repository at this point in the history
Fix Update method for loyalty object
  • Loading branch information
sonda2208 authored Jul 23, 2020
2 parents 8a95e28 + e83a09c commit f97da10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loyaltyobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f97da10

Please sign in to comment.