Add test for submitting full video converting to upvote

This commit is contained in:
Ajay
2022-01-06 14:10:41 -05:00
parent 68c6266139
commit b4f8bdd719
2 changed files with 47 additions and 7 deletions

View File

@@ -409,7 +409,7 @@ async function checkEachSegmentValid(rawIP: IPAddress, paramUserID: UserID, user
if (duplicateCheck2Row) {
if (segments[i].actionType === ActionType.Full) {
// Forward as vote
vote(rawIP, duplicateCheck2Row.UUID, paramUserID, 1);
await vote(rawIP, duplicateCheck2Row.UUID, paramUserID, 1);
segments[i].ignoreSegment = true;
continue;
} else {