Skip to content

Commit

Permalink
reduce todo surface area
Browse files Browse the repository at this point in the history
refactor
  • Loading branch information
Govorunb committed Jun 13, 2024
1 parent ab0e8c4 commit 58466b0
Show file tree
Hide file tree
Showing 2 changed files with 193 additions and 179 deletions.
2 changes: 1 addition & 1 deletion ebs/src/modules/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function refreshConfig() {
activeConfig = processConfig(configData);
}

app.get("/private/refresh", asyncCatch(async (_, res, next) => {
app.get("/private/refresh", asyncCatch(async (_, res) => {
await refreshConfig();
console.log("Refreshed config, new config version is ", activeConfig!.version);
await broadcastConfigRefresh(activeConfig!);
Expand Down
Loading

0 comments on commit 58466b0

Please sign in to comment.