재생 목록 상세

- 삭제 기능 추가
This commit is contained in:
Yu Sung
2024-12-10 03:44:49 +09:00
parent d03fee372a
commit 8d60e500c0
4 changed files with 115 additions and 1 deletions

View File

@@ -23,4 +23,8 @@ class ContentPlaylistListRepository {
func getPlaylistDetail(playlistId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getPlaylistDetail(playlistId: playlistId))
}
func deletePlaylist(playlistId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.deletePlaylist(playlistId: playlistId))
}
}