Update comment to reflect changes to function

pull/3869/head
ChunkyProgrammer 1 year ago committed by GitHub
parent d2672e5eea
commit 6fb9828651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -762,7 +762,7 @@ module HelperExtractors
end end
# Retrieves the ID required for querying the InnerTube browse endpoint. # Retrieves the ID required for querying the InnerTube browse endpoint.
# Raises when it's unable to do so # Returns an empty string when it's unable to do so
def self.get_browse_id(container) def self.get_browse_id(container)
return container.dig?("navigationEndpoint", "browseEndpoint", "browseId").try &.as_s || "" return container.dig?("navigationEndpoint", "browseEndpoint", "browseId").try &.as_s || ""
end end

Loading…
Cancel
Save