Skip to content

Commit 5c8729c

Browse files
authored
Merge pull request #182 from scriptaiapp/railway/code-change-mhUAkc
Fix YouTube search API forMine parameter type
2 parents 8da450c + a126ad6 commit 5c8729c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/api/src/youtube/youtube.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ export class YoutubeService {
7474

7575
const accessToken = await this.resolveAccessToken(userId, channel);
7676

77-
const searchParams: Record<string, string | number> = {
77+
const searchParams: Record<string, string | number | boolean> = {
7878
part: 'snippet',
79-
forMine: 'true',
79+
forMine: true,
8080
type: 'video',
8181
order: 'viewCount',
8282
maxResults,

0 commit comments

Comments
 (0)