mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-08 23:33:45 +01:00
parent
97e43ec5f0
commit
416f644505
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ class Api::V1::Push::SubscriptionsController < Api::BaseController
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
raise ActiveRecord::RecordNotFound if @web_subscription.nil?
|
||||||
|
|
||||||
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer
|
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue