(combined, type, id)
| 105 | } |
| 106 | |
| 107 | async function fillFromApi(combined, type, id) { |
| 108 | const mal = await getMalToKissApi(type, id); |
| 109 | |
| 110 | return combined.map(el => { |
| 111 | if (el.database && mal[el.database]) { |
| 112 | el.databaseLinks = mal[el.database]; |
| 113 | } |
| 114 | return el; |
| 115 | }); |
| 116 | } |
| 117 | |
| 118 | function simplifyObject(combined, type, title, id): Quicklink[] { |
| 119 | return combined |
no test coverage detected