fix typos

This commit is contained in:
Michael C
2021-07-07 16:44:05 -04:00
parent 7d62fcd8cc
commit 4a835d5306
3 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ const mergeLocks = (source: DBLock[]) => {
const destMatch = dest.find(s => s.videoID === obj.videoID);
if (destMatch) {
// override longer reason
if (destMatch.reason.length > obj.reason.length) destMatch.reason = obj.reason;
if (obj.reason.length > destMatch.reason.length) destMatch.reason = obj.reason;
// push to categories
destMatch.categories.push(obj.category);
} else {