mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-30 12:21:41 +00:00
Apply corrections identified by SonarQube (#8457)
This commit is contained in:
committed by
GitHub
parent
99cb83a9df
commit
964c60d086
@@ -524,7 +524,7 @@ export async function getLogsForReport() {
|
||||
if (global.mx_rage_store) {
|
||||
// flush most recent logs
|
||||
await global.mx_rage_store.flush();
|
||||
return await global.mx_rage_store.consume();
|
||||
return global.mx_rage_store.consume();
|
||||
} else {
|
||||
return [{
|
||||
lines: global.mx_rage_logger.flush(true),
|
||||
|
||||
@@ -212,7 +212,7 @@ export default async function sendBugReport(bugReportEndpoint: string, opts: IOp
|
||||
const body = await collectBugReport(opts);
|
||||
|
||||
progressCallback(_t("Uploading logs"));
|
||||
return await submitReport(bugReportEndpoint, body, progressCallback);
|
||||
return submitReport(bugReportEndpoint, body, progressCallback);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user