Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost91- committed May 13, 2024
1 parent c3d9a22 commit 89fa95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ export const downloadThreatsMarkdownFile =
? game.model?.summary.title.trim().replaceAll(' ', '-')
: ``
: game.state.G.gameMode
? game.state.G.gameMode.trim().replaceAll(' ', '')
: ``;
? game.state.G.gameMode.trim().replaceAll(' ', '')
: ``;
const timestamp = new Date().toISOString().replaceAll(':', '-');
const date = new Date().toLocaleString();
const filename = `threats-${modelTitle}-${timestamp}.md`;
Expand Down

0 comments on commit 89fa95e

Please sign in to comment.