Skip to content

Commit

Permalink
Expose MiqEvent/EmsEvent group/levels in event stream OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Nov 10, 2021
1 parent bcce288 commit 415c536
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/controllers/api/event_streams_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
module Api
class EventStreamsController < BaseController
def options
render_options(@req.collection, build_additional_fields)
end

def build_additional_fields
EventStream.event_stream_options
end
end
end

0 comments on commit 415c536

Please sign in to comment.