Skip to content

Commit ad4346d

Browse files
committed
standardrb fixes
1 parent f4105b6 commit ad4346d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/api/nextv1/public_channel_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ class Api::Nextv1::PublicChannelController < Api::Nextv1::BaseController
22
skip_before_action :authenticate_publisher!
33

44
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-
5+
channel = Channel.includes(:site_banner).where("LOWER(public_name) = :query OR LOWER(public_identifier) = :query", query: params[:public_identifier].downcase).first
6+
77
channel_title = channel&.publication_title
88
crypto_addresses = channel&.crypto_addresses&.pluck(:address, :chain)
99

0 commit comments

Comments
 (0)