Send creds

This commit is contained in:
Pas 2025-04-09 16:56:54 -06:00 committed by GitHub
parent 3568a445b0
commit 9f138abe32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,6 +100,7 @@ function embed(provider: {
// Fetch data from the API
const data = await ctx.fetcher<StreamData>(apiUrl, {
headers: Object.keys(headers).length > 0 ? headers : undefined,
credentials: 'include',
});
if (data?.error && data.error.startsWith('No results found in MovieBox search')) {