forked from engineering/cloudservices
pushes
parent
c0c56197e9
commit
eaea4abaa2
|
@ -56,7 +56,7 @@ export default class Webhook extends Route {
|
|||
locks: [],
|
||||
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) {
|
||||
for (const moderation of moderations) {
|
||||
if (moderation.reason?.includes('DN/C')) continue;
|
||||
|
|
Loading…
Reference in New Issue