Skip to content

Commit

Permalink
feat: generate more types that are used as request bodies (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 11, 2024
1 parent e1b231d commit 17dc3e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api-resources/video/playback-restrictions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('resource playbackRestrictions', () => {

test('updateReferrer: only required params', async () => {
const responsePromise = client.video.playbackRestrictions.updateReferrer('PLAYBACK_RESTRICTION_ID', {
allowed_domains: ['string'],
allowed_domains: ['*.example.com'],
});
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
Expand All @@ -111,7 +111,7 @@ describe('resource playbackRestrictions', () => {

test('updateReferrer: required and optional params', async () => {
const response = await client.video.playbackRestrictions.updateReferrer('PLAYBACK_RESTRICTION_ID', {
allowed_domains: ['string'],
allowed_domains: ['*.example.com'],
allow_no_referrer: true,
});
});
Expand Down

0 comments on commit 17dc3e2

Please sign in to comment.