Fix data model in api/worldinfo/list
| @@ -52,7 +52,7 @@ router.post('/list', async (request, response) => { | ||
| 52 | 52 | const fileNameWithoutExt = path.parse(file.name).name; |
| 53 | 53 | const fileData = { |
| 54 | 54 | file_id: fileNameWithoutExt, |
| 55 | 55 | name: fileContentsParsed?.name || fileNameWithoutExt, |
| 56 | 56 | extensions: _.isObjectLike(fileExtensions) ? fileExtensions : {}, |
| 57 | 57 | }; |
| 58 | 58 | data.push(fileData); |