Skip to content

Commit

Permalink
Merge pull request #440 from dot-mike/fix/export-db
Browse files Browse the repository at this point in the history
fix: Correct platforms property in exported database response
  • Loading branch information
colin969 authored Dec 8, 2024
2 parents 789602d + a33eb8b commit c423f91
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 @@ -1456,7 +1456,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 c423f91

Please sign in to comment.