mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FEATURE: adds list#(unread|new) to user api key routes (#6494)
This commit is contained in:
parent
d76658ff8c
commit
f6eff38c0e
@ -6,7 +6,12 @@ class UserApiKey < ActiveRecord::Base
|
||||
message_bus: [[:post, 'message_bus']],
|
||||
push: nil,
|
||||
notifications: [[:post, 'message_bus'], [:get, 'notifications#index'], [:put, 'notifications#mark_read']],
|
||||
session_info: [[:get, 'session#current'], [:get, 'users#topic_tracking_state']]
|
||||
session_info: [
|
||||
[:get, 'session#current'],
|
||||
[:get, 'users#topic_tracking_state'],
|
||||
[:get, 'list#unread'],
|
||||
[:get, 'list#new']
|
||||
]
|
||||
}
|
||||
|
||||
belongs_to :user
|
||||
|
Loading…
Reference in New Issue
Block a user