1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix 404 for GET /api/v1/push/subscription (#7472)

My bad...
This commit is contained in:
Eugen Rochko 2018-05-13 21:45:18 +02:00 committed by GitHub
parent 97e43ec5f0
commit 416f644505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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