1
0
Fork 0
refactor/models
Matthew 2020-09-14 02:36:55 -04:00
parent c0c56197e9
commit eaea4abaa2
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export default class Webhook extends Route {
locks: [], locks: [],
deletes: [], deletes: [],
}; };
if (account.totalReferrals && account.totalReferrals > 0) response.totalReferrals = account.totalReferrals; if (account?.totalReferrals && account?.totalReferrals > 0) response.totalReferrals = account.totalReferrals;
if (moderations.length > 0) { if (moderations.length > 0) {
for (const moderation of moderations) { for (const moderation of moderations) {
if (moderation.reason?.includes('DN/C')) continue; if (moderation.reason?.includes('DN/C')) continue;