fix: toloka auth
This commit is contained in:
1 parent
335e26aa76
commit
1111712d2c
13 files changed
+613
-230
No files matched your search
+2
-2
@@ -5,7 +5,7 @@ import { cookies } from 'next/headers';
|
||||
import { createUniqueRandomGenerator } from '@/lib/utils';
|
||||
|
||||
import mapMoviesSeriesResponseToShows, { mapMovieSeriesToShow } from './dto/Show';
|
||||
import toloka from './parsers/toloka';
|
||||
import tlk from './parsers/tlk';
|
||||
import http from './Http';
|
||||
|
||||
const session = () => cookies().get('session')?.value;
|
||||
@@ -235,4 +235,4 @@ export const credits = async ({
|
||||
});
|
||||
};
|
||||
|
||||
export const fetchTLKMagnet = async (url: string) => toloka.magnet(url);
|
||||
export const fetchTLKMagnet = async (url: string) => tlk.magnet(url);
|
||||
Reference in new issue
Block a user