From 9bcecae9a2291380907e06c73c95bb3628413264 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 6 Sep 2020 13:35:14 -0400 Subject: [PATCH] Made report by submitter work for VIPs --- src/utils/webhookUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/webhookUtils.js b/src/utils/webhookUtils.js index 6da1d62..9b1e0e7 100644 --- a/src/utils/webhookUtils.js +++ b/src/utils/webhookUtils.js @@ -17,10 +17,10 @@ function getVoteAuthorRaw(submissionCount, isVIP, isOwnSubmission) { function getVoteAuthor(submissionCount, isVIP, isOwnSubmission) { if (submissionCount === 0) { return "Report by New User"; - } else if (isVIP) { - return "Report by VIP User"; } else if (isOwnSubmission) { return "Report by Submitter"; + } else if (isVIP) { + return "Report by VIP User"; } return "";