Skip to content

A platform for community discussion. Free, open, simple.

FEATURE: Add API scope for listing topics in a category (#20471)

Blake Erickson451ee71930d9
diff --git a/app/models/api_key_scope.rb b/app/models/api_key_scope.rb
index 957b145cc9e..b22584955d8 100644
--- a/app/models/api_key_scope.rb
+++ b/app/models/api_key_scope.rb
@@ -6,7 +6,7 @@ class ApiKeyScope < ActiveRecord::Base
class << self
def list_actions
- actions = %w[list#category_feed]
+ actions = %w[list#category_feed list#category_default]
%i[latest unread new top].each { |f| actions.concat(["list#category_#{f}", "list##{f}"]) }