Skip to content

Commit cd323ac

Browse files
authored
fix: remove some unused fields from the report object (#1342)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced configuration settings by adding secure placeholders for sensitive data. - **Chores** - Refreshed internal timestamp records to reflect current download times. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 457d338 commit cd323ac

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

api/src/unraid-api/cli/report.command.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,17 @@ export class ReportCommand extends CommandRunner {
6262
connectionStatus: { running: 'yes' | 'no' };
6363
};
6464
config.connectionStatus.running = apiRunning ? 'yes' : 'no';
65+
config.remote = {
66+
...config.remote,
67+
apikey: 'REDACTED',
68+
localApiKey: 'REDACTED',
69+
accesstoken: 'REDACTED',
70+
idtoken: 'REDACTED',
71+
refreshtoken: 'REDACTED',
72+
ssoSubIds: 'REDACTED',
73+
allowedOrigins: 'REDACTED',
74+
email: 'REDACTED',
75+
};
6576
this.logger.clear();
6677
this.logger.info(JSON.stringify(config, null, 2));
6778
} catch (error) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1744055516073
1+
1744137872623
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1744055515643
1+
1744137872211
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1744055515843
1+
1744137872410
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1744055516267
1+
1744137872839

0 commit comments

Comments
 (0)