A platform for community discussion. Free, open, simple.
FIX: Typo in summary URL (#23298)
Roman Rizzicf71f8358e38
diff --git a/app/assets/javascripts/discourse/app/components/summary-box.js b/app/assets/javascripts/discourse/app/components/summary-box.jsindex 1827c5ab92b..691f1342934 100644--- a/app/assets/javascripts/discourse/app/components/summary-box.js+++ b/app/assets/javascripts/discourse/app/components/summary-box.js@@ -167,18 +167,14 @@ export default class SummaryBox extends Component {this.loadingSummary = true;}- let fetchURL = `/t/${this.args.postAttrs.topicId}/strategy-summary`;+ let fetchURL = `/t/${this.args.postAttrs.topicId}/strategy-summary?`;if (this.currentUser) {fetchURL += `stream=true`;- }- if (this.canRegenerate) {- if (this.currentUser) {- fetchURL += "&";+ if (this.canRegenerate) {+ fetchURL += "&skip_age_check=true";}-- fetchURL += "skip_age_check=true";}ajax(fetchURL)