mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:59:21 +00:00
fix channel about response type
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import APIClient from '../../functions/APIClient';
|
||||
import { ChannelResponseType } from '../../pages/ChannelBase';
|
||||
|
||||
const loadChannelById = async (youtubeChannelId: string) => {
|
||||
const loadChannelById = async (youtubeChannelId: string): Promise<ChannelResponseType> => {
|
||||
return APIClient(`/api/channel/${youtubeChannelId}/`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user