Skip to content

Commit

Permalink
fix: Correct platforms property in exported database response
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-mike committed Nov 28, 2024
1 parent cba47b5 commit a33eb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/back/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ export function registerRequestCallbacks(state: BackState, init: () => Promise<v
const res = 'Exported Database:' +
`\nTag Categories: ${jsonFile.tags.categories.length.toString().padStart(5, ' ')} ` +
`\nTags: ${jsonFile.tags.tags.length.toString().padStart(11, ' ')} ` +
`\nPlatforms: ${jsonFile.platforms.platforms.length.toString().padStart(9, ' ')} ` +
`\nPlatforms: ${jsonFile.platforms.length.toString().padStart(9, ' ')} ` +
`\nGames: ${jsonFile.games.games.length.toString().padStart(14, ' ')} `;

jsonFile = JSON.stringify(jsonFile, null, 0);
Expand Down

0 comments on commit a33eb8b

Please sign in to comment.