We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4105b6 commit ad4346dCopy full SHA for ad4346d
app/controllers/api/nextv1/public_channel_controller.rb
@@ -2,8 +2,8 @@ class Api::Nextv1::PublicChannelController < Api::Nextv1::BaseController
2
skip_before_action :authenticate_publisher!
3
4
def show
5
- channel = Channel.includes(:site_banner).where('LOWER(public_name) = :query OR LOWER(public_identifier) = :query', query: params[:public_identifier].downcase).first
6
-
+ channel = Channel.includes(:site_banner).where("LOWER(public_name) = :query OR LOWER(public_identifier) = :query", query: params[:public_identifier].downcase).first
+
7
channel_title = channel&.publication_title
8
crypto_addresses = channel&.crypto_addresses&.pluck(:address, :chain)
9
0 commit comments