diff --git a/src/server/endpoints.ts b/src/server/endpoints.ts index f3e11d6..70b52d4 100644 --- a/src/server/endpoints.ts +++ b/src/server/endpoints.ts @@ -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`;