Clean useless database arguments (5/5)

This commit is contained in:
Samantaz Fox
2021-12-07 03:57:18 +01:00
parent d74873fed1
commit 302fecbdcb
4 changed files with 4 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ module Invidious::Routes::API::V1::Authenticated
page = env.params.query["page"]?.try &.to_i?
page ||= 1
videos, notifications = get_subscription_feed(PG_DB, user, max_results, page)
videos, notifications = get_subscription_feed(user, max_results, page)
JSON.build do |json|
json.object do