We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4dadd commit 65a9ccfCopy full SHA for 65a9ccf
config/locales/client.en.yml
@@ -49,6 +49,11 @@ en:
49
solved_event:
50
name: "Solved Event"
51
details: "When a user marks a post as the accepted or unaccepted answer."
52
+ api:
53
+ scopes:
54
+ descriptions:
55
+ solved:
56
+ answer: Accept/Unaccept a solution.
57
58
discourse_automation:
59
triggerables:
plugin.rb
@@ -249,6 +249,11 @@ def limit_accepts
249
250
Discourse::Application.routes.append { mount ::DiscourseSolved::Engine, at: "solution" }
251
252
+ add_api_key_scope(
253
+ :solved,
254
+ { answer: { actions: %w[discourse_solved/answer#accept discourse_solved/answer#unaccept] } },
255
+ )
256
+
257
topic_view_post_custom_fields_allowlister { ["is_accepted_answer"] }
258
259
def get_schema_text(post)
0 commit comments