Fix 404 for GET /api/v1/push/subscription (#7472)
My bad...remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
97e43ec5f0
commit
416f644505
|
@ -21,6 +21,8 @@ class Api::V1::Push::SubscriptionsController < Api::BaseController
|
|||
end
|
||||
|
||||
def show
|
||||
raise ActiveRecord::RecordNotFound if @web_subscription.nil?
|
||||
|
||||
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue