mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 02:48:09 +08:00
FIX: Typo in summary URL (#23298)
This commit is contained in:
parent
e20de81de3
commit
cf71f8358e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user