Skip to content

Commit

Permalink
minor serviceType renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Muneeb147 committed Sep 5, 2024
1 parent 9de205f commit d8ac30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contract/src/offer-up.contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const start = async zcf => {
const {
subscriptionPrice,
subscriptionPeriod = 'MONTHLY',

Check failure on line 50 in contract/src/offer-up.contract.js

View workflow job for this annotation

GitHub Actions / unit (18)

'subscriptionPeriod' is assigned a value but never used. Allowed unused vars must match /^_/u

Check failure on line 50 in contract/src/offer-up.contract.js

View workflow job for this annotation

GitHub Actions / unit (20)

'subscriptionPeriod' is assigned a value but never used. Allowed unused vars must match /^_/u
servicesToAvail = ['NETFLIX', 'AMAZON'],
servicesToAvail = ['Netflix', 'Amazon', 'HboMax', 'Disney'],
} = zcf.getTerms();


Expand Down
2 changes: 1 addition & 1 deletion contract/test/test-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const alice = async (t, zoe, instance, purse) => {
const terms = await E(zoe).getTerms(instance);
const { issuers, brands, subscriptionPrice } = terms;

const serviceType = 'NETFLIX'
const serviceType = 'Netflix'
const choiceBag = makeCopyBag([[{ expiryTime: '123', serviceType }, 1n]]);

const proposal = {
Expand Down

0 comments on commit d8ac30e

Please sign in to comment.