Merge remote-tracking branch 'origin/master' into repp-domains

This commit is contained in:
Karl Erik Õunapuu 2021-02-02 12:45:22 +02:00
commit 9305602c5f
No known key found for this signature in database
GPG key ID: C9DD647298A34764
34 changed files with 1133 additions and 54 deletions

View file

@ -22,7 +22,7 @@ module Repp
desc 'Get a specific poll message'
def show
@notification = current_user.registrar.notifications.find(params[:id])
data = @notification.as_json(only: %i[id text attached_obj_id attached_obj_type])
data = @notification.as_json(only: %i[id text attached_obj_id attached_obj_type read])
render_success(data: data)
end