mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(tools): use boolean value for acceptedPrivacyTerms (#54606)
This commit is contained in:
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user