(item)
| 208 | } |
| 209 | |
| 210 | export async function syncMissing(item) { |
| 211 | item.diff = { |
| 212 | score: item.score, |
| 213 | watchedEp: item.watchedEp, |
| 214 | status: normalizeStatus(item.status), |
| 215 | startDate: item.startDate, |
| 216 | finishDate: item.finishDate, |
| 217 | rewatchCount: item.rewatchCount, |
| 218 | }; |
| 219 | if (item.type === 'manga') { |
| 220 | item.diff.readVol = item.readVol; |
| 221 | } |
| 222 | return syncItem(item, item.syncType); |
| 223 | } |
| 224 | |
| 225 | // eslint-disable-next-line consistent-return |
| 226 | export function syncItem(slave, pageType) { |
no test coverage detected