Fix web push notifications for polls (#10864)

Fixes #10861
This commit is contained in:
ThibG authored and Eugen Rochko committed 2019-05-28 00:26:08 +02:00
1 parent 451e5980b6
commit fe3b863926
2 files changed
+3 -2

No files matched your search

@@ -51,6 +51,6 @@ class Api::V1::Push::SubscriptionsController < Api::BaseController
def data_params
return {} if params[:data].blank?
params.require(:data).permit(alerts: [:follow, :favourite, :reblog, :mention])
params.require(:data).permit(alerts: [:follow, :favourite, :reblog, :mention, :poll])
end
end