mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
PR feedback
This commit is contained in:
parent
ba0bc72d0b
commit
2eb7c5c037
1 changed files with 3 additions and 3 deletions
|
@ -206,13 +206,13 @@ module Invidious::Database::PlaylistVideos
|
|||
PG_DB.exec(request, index)
|
||||
end
|
||||
|
||||
def delete_by_playlist(playlist_id : String)
|
||||
def delete_by_playlist(plid : String)
|
||||
request = <<-SQL
|
||||
DELETE FROM playlist_videos *
|
||||
WHERE plid = $1;
|
||||
WHERE plid = $1
|
||||
SQL
|
||||
|
||||
PG_DB.exec(request, playlist_id)
|
||||
PG_DB.exec(request, plid)
|
||||
end
|
||||
|
||||
# -------------------
|
||||
|
|
Loading…
Reference in a new issue