Skip to content

Commit 8d5df19

Browse files
author
AmiyahJo
committed
fix: fixed order mediaItem
1 parent 9a5ac2b commit 8d5df19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_10/libraries/src/loaders/amiyah_jones.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AmiyahJonesLoader implements Loader {
2626
.pipe(csv());
2727
for await (const row of readable) {
2828
const { id, type, title, year } = row;
29-
allMedia.push(new MediaItem(id, type, title, year, []));
29+
allMedia.push(new MediaItem(id, title, type, year, []));
3030
}
3131
return allMedia;
3232
}

0 commit comments

Comments
 (0)