Use an opts arg for submit-rageshake
This commit is contained in:
parent
6423f7ce03
commit
3f291aae5b
2 changed files with 12 additions and 8 deletions
|
@ -48,9 +48,10 @@ export default class BugReportDialog extends React.Component {
|
|||
return;
|
||||
}
|
||||
this.setState({ busy: true, err: null });
|
||||
submit_rageshake(
|
||||
SdkConfig.get().bug_report_endpoint_url, userText, sendLogs,
|
||||
).then(() => {
|
||||
submit_rageshake(SdkConfig.get().bug_report_endpoint_url, {
|
||||
userText: userText,
|
||||
sendLogs: sendLogs,
|
||||
}).then(() => {
|
||||
this.setState({ busy: false });
|
||||
this.props.onFinished(false);
|
||||
}, (err) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue