Просмотр исходного кода

imprv: add installed-date to questionnaire answer
add comment

Tatsuya Ise 2 лет назад
Родитель
Сommit
1d10151d02

+ 1 - 0
apps/app/src/features/questionnaire/server/service/questionnaire.ts

@@ -33,6 +33,7 @@ class QuestionnaireService {
     hasher.update(appSiteUrl);
     const appSiteUrlHashed = hasher.digest('hex');
 
+    // Get the oldest user who probably installed this GROWI.
     const users = await User.find({ createdAt: { $ne: null } }).limit(1).sort({ createdAt: 1 });
     const installedAtByOldestUser = users[0].createdAt;