mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-17 22:01:24 -04:00
fix(tools): use boolean value for acceptedPrivacyTerms (#54606)
This commit is contained in:
committed by
GitHub
parent
2782f97659
commit
0307dc9f1e
@@ -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