Skip to content

Commit e17b1a1

Browse files
authored
Merge pull request TeamNewPipe#12975 from dustdfg/playlist_button_work
Correct typo in playlist db sql query
2 parents 0a65c86 + 7806a70 commit e17b1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/schabi/newpipe/database/playlist/dao/PlaylistRemoteDAO.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface PlaylistRemoteDAO : BasicDAO<PlaylistRemoteEntity> {
2828
@Query("SELECT * FROM remote_playlists WHERE uid = :playlistId")
2929
fun getPlaylist(playlistId: Long): Flowable<PlaylistRemoteEntity>
3030

31-
@Query("SELECT * FROM remote_playlists WHERE url = :url AND uid = :serviceId")
31+
@Query("SELECT * FROM remote_playlists WHERE url = :url AND service_id = :serviceId")
3232
fun getPlaylist(serviceId: Long, url: String?): Flowable<MutableList<PlaylistRemoteEntity>>
3333

3434
@get:Query("SELECT * FROM remote_playlists ORDER BY display_index")

0 commit comments

Comments
 (0)