Skip to content

Commit 78a2be4

Browse files
committed
api: access-control: allowedOrigins
1 parent e3d60cc commit 78a2be4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/api/src/controllers/access-control.test.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,11 @@ describe("controllers/access-control", () => {
259259
stream: `video+${gatedAsset.playbackId}`,
260260
type: "accessKey",
261261
accessKey: signingKey.publicKey,
262-
origin: "https://example.com",
262+
webhookPayload: {
263+
headers: {
264+
origin: "https://example.com",
265+
},
266+
},
263267
});
264268
expect(res3.status).toBe(403);
265269
});

0 commit comments

Comments
 (0)