Skip to content

Commit

Permalink
remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Jan 9, 2025
1 parent 3c7a7f9 commit 3a74f63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/karafka/web/ui/routes/consumers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ class Consumers < Base
commands
].each do |path|
r.get path do |_process_id|
raise Errors::Ui::ProOnlyError
raise ::Karafka::Web::Errors::Ui::ProOnlyError
end
end

r.get String, 'subscriptions' do |_process_id|
raise Errors::Ui::ProOnlyError
raise ::Karafka::Web::Errors::Ui::ProOnlyError
end

r.get do
Expand Down
2 changes: 1 addition & 1 deletion lib/karafka/web/ui/routes/pro_only.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ProOnly < Base
topics
].each do |route|
r.get route, [String, true], [String, true] do
raise Errors::Ui::ProOnlyError
raise ::Karafka::Web::Errors::Ui::ProOnlyError
end
end
end
Expand Down

0 comments on commit 3a74f63

Please sign in to comment.