mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(tools): use boolean value for acceptedPrivacyTerms (#54606)
This commit is contained in:
@@ -87,7 +87,7 @@ const trophyChallenges = [
|
||||
user.yearsTopContributor = ['2017', '2018', '2019'];
|
||||
}
|
||||
if (args.includes('--unset-privacy-terms')) {
|
||||
user.acceptedPrivacyTerms = null;
|
||||
user.acceptedPrivacyTerms = false;
|
||||
}
|
||||
if (args.includes('--seed-trophy-challenges')) {
|
||||
user.completedChallenges = trophyChallenges;
|
||||
|
||||
Reference in New Issue
Block a user