Skip to content

Commit e1e9578

Browse files
committed
refactor: change medium_id parameter to accept null in getFollowedPlaylistsPrivateWithCount method
1 parent 500ee90 commit e1e9578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/account/accountFollowingPlaylist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AccountFollowingPlaylistService extends BaseManyService<AccountFoll
2626

2727
async getFollowedPlaylistsPrivateWithCount(
2828
account_id: number,
29-
medium_id?: number,
29+
medium_id: number | null,
3030
config?: FindManyOptions<AccountFollowingPlaylist>):
3131
Promise<[AccountFollowingPlaylist[], number]> {
3232
return this.repositoryRead.findAndCount({

0 commit comments

Comments
 (0)