Skip to content

Commit 70b9899

Browse files
philcluffjsanford8
authored andcommitted
s/l/d/
1 parent 274b397 commit 70b9899

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

deno_tests/api-resources/jwt.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Deno.test(async function signSpaceId() {
155155
Deno.test(async function signDrmLicense() {
156156
assertObjectMatch(await verify(mux.jwt.signDrmLicense('abcdefgh')), {
157157
kid: jwtSigningKey,
158-
aud: 'l',
158+
aud: 'd',
159159
sub: 'abcdefgh',
160160
});
161161
assertObjectMatch(
@@ -167,7 +167,7 @@ Deno.test(async function signDrmLicense() {
167167
),
168168
{
169169
kid: jwtSigningKey,
170-
aud: 'l',
170+
aud: 'd',
171171
sub: 'abcdefgh',
172172
},
173173
);

src/util/jwt-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export enum TypeClaim {
4949
gif = 'g',
5050
storyboard = 's',
5151
stats = 'playback_id',
52-
drm_license = 'l',
52+
drm_license = 'd',
5353
}
5454

5555
export enum DataTypeClaim {

tests/api-resources/jwt.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ describe('resource jwt', () => {
211211
test('signDrmLicense', async () => {
212212
expect(decodeJwt(await mux.jwt.signDrmLicense('abcdefgh'))).toMatchObject({
213213
kid: jwtSigningKey,
214-
aud: 'l',
214+
aud: 'd',
215215
sub: 'abcdefgh',
216216
});
217217
expect(
@@ -223,7 +223,7 @@ describe('resource jwt', () => {
223223
),
224224
).toMatchObject({
225225
kid: jwtSigningKey,
226-
aud: 'l',
226+
aud: 'd',
227227
sub: 'abcdefgh',
228228
});
229229
expect(
@@ -235,7 +235,7 @@ describe('resource jwt', () => {
235235
),
236236
).toMatchObject({
237237
kid: jwtSigningKey,
238-
aud: 'l',
238+
aud: 'd',
239239
sub: 'abcdefgh',
240240
});
241241
});

0 commit comments

Comments
 (0)