Skip to content

[refactor] /api/health lockdown nit fix needed #948

@MichaelWheeley

Description

@MichaelWheeley

...

  • One nit (not blocking): the JSON branch has a redundant persistence: isAuthed ? {...} : { enabled: !!STATS_FILE } ternary inside the ...(isAuthed ? {...} : {}) spread, since the outer condition already guarantees isAuthed. Same with the inner sessions: isAuthed ? ... : ... and pskMqttProxy.activeCallsigns: isAuthed ? ... : .... Could be cleaned up next time you touch the file.

Originally posted by @accius in #940 (review)

please assign to @MichaelWheeley I'm not able to self-assign

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions