Skip to content

Commit

Permalink
fix: regress. rescheduling shouldn't add to sets that pinning removed… (
Browse files Browse the repository at this point in the history
#9477)

* fix: regress. rescheduling shouldn't add to sets that pinning removed from

* test: remove the also from tests
  • Loading branch information
gasoved committed Apr 21, 2021
1 parent 427e4f4 commit 8b79c7f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/topics/scheduled.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ Scheduled.reschedule = async function ({ cid, tid, timestamp, uid }) {
'topics:scheduled',
`uid:${uid}:topics`,
'topics:tid',
`cid:${cid}:tids`,
`cid:${cid}:uid:${uid}:tids`,
], timestamp, tid),
shiftPostTimes(tid, timestamp),
Expand Down
1 change: 0 additions & 1 deletion test/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,6 @@ describe('Topic\'s', () => {
'topics:scheduled',
`uid:${adminUid}:topics`,
'topics:tid',
`cid:${topicData.cid}:tids`,
`cid:${topicData.cid}:uid:${adminUid}:tids`,
], topicData.tid);
assert(scores.every(publishTime => publishTime === editedTopic.timestamp));
Expand Down

0 comments on commit 8b79c7f

Please sign in to comment.