Fix error in code

This commit is contained in:
Senthamil Sindhu 2024-01-18 11:11:03 -08:00
parent e26207e949
commit 913a96afec
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ export default class Explorer {
} }
} else { } else {
// Show survey when an existing account is older than 3 days // Show survey when an existing account is older than 3 days
if (
!isAccountNewerThanThresholdInMs(userContext.databaseAccount?.systemData?.createdAt || "", THREE_DAYS_IN_MS) !isAccountNewerThanThresholdInMs(userContext.databaseAccount?.systemData?.createdAt || "", THREE_DAYS_IN_MS)
) { ) {
this.sendNPSMessage(); this.sendNPSMessage();