mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-05-09 12:51:10 +00:00
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
import APIClient from '../../functions/APIClient';
|
|
import { VideoResponseType } from './loadVideoById';
|
|
|
|
const loadSimilarVideosById = async (youtubeId: string) => {
|
|
return APIClient<VideoResponseType[]>(`/api/video/${youtubeId}/similar/`);
|
|
};
|
|
|
|
export default loadSimilarVideosById;
|