fix channel about response type

This commit is contained in:
Simon
2025-02-21 23:17:19 +07:00
parent 83cfa03e11
commit 60724df45a
3 changed files with 16 additions and 19 deletions

View File

@@ -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}/`);
};