Skip to content

Commit

Permalink
fix down migration
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Feb 10, 2021
1 parent c2904c4 commit 12c8798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrations/001-activePlaylistState.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function down({ context: uw }) {
for await (const user of users.stream()) {
if (!user.activePlaylist) return;

await uw.redis.set(`playlist:${user.id}`, user.activePlaylist.toString());
await uw.redis.set(`playlist:${user._id}`, user.activePlaylist.toString());
}
}

Expand Down

0 comments on commit 12c8798

Please sign in to comment.