Skip to content

Commit

Permalink
feat: remove AmazonAdvertising 'Operation' suffix and type
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentoanit committed Apr 25, 2020
1 parent 26f0e45 commit c36cf5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/amazon-advertising.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class AmazonAdvertising {
}

@LazyGetter()
get sponsoredProductsCampaignOperation(): SponsoredProductsCampaignOperation {
get sponsoredProductsCampaign() {
return this.operationProvider.create(SponsoredProductsCampaignOperation)
}
}
2 changes: 1 addition & 1 deletion test/amazon-advertising.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { auth } from './http-client-factory'
import { SponsoredProductsCampaignOperation } from '../src'

const amazonAdvertising = new AmazonAdvertising(amazonMarketplaces.JP, auth)
const operation = amazonAdvertising.sponsoredProductsCampaignOperation
const operation = amazonAdvertising.sponsoredProductsCampaign

describe('AmazonAdvertising', () => {
it('should return SponsoredProductsCampaignOperation', () => {
Expand Down

1 comment on commit c36cf5b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.