From fafcbe0b25ccfc56208e483f24eed9badf830687 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 30 Mar 2022 15:43:53 -0400 Subject: [PATCH] Move new user down --- src/utils/webhookUtils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/webhookUtils.ts b/src/utils/webhookUtils.ts index 67e2817..7180a98 100644 --- a/src/utils/webhookUtils.ts +++ b/src/utils/webhookUtils.ts @@ -17,14 +17,14 @@ function getVoteAuthorRaw(submissionCount: number, isTempVIP: boolean, isVIP: bo } function getVoteAuthor(submissionCount: number, isTempVIP: boolean, isVIP: boolean, isOwnSubmission: boolean): string { - if (submissionCount === 0) { - return "Report by New User"; - } else if (isOwnSubmission) { + if (isOwnSubmission) { return "Report by Submitter"; } else if (isTempVIP) { return "Report by Temp VIP"; } else if (isVIP) { return "Report by VIP User"; + } else if (submissionCount === 0) { + return "Report by New User"; } return "";