Further transition from HTTP to HTTPS (#14039)

This commit is contained in:
sau226
2022-06-11 05:02:58 +10:00
committed by GitHub
parent 4da6467486
commit 4d10c53216
19 changed files with 30 additions and 30 deletions

View File

@@ -246,7 +246,7 @@ schema.pre('save', true, function preSaveUser (next, done) {
// use the default values defined in the user schema and not the real ones.
//
// To check if a field was selected Document.isDirectSelected('field') can be used.
// more info on its usage can be found at http://mongoosejs.com/docs/api.html#document_Document-isDirectSelected
// more info on its usage can be found at https://mongoosejs.com/docs/api.html#document_Document-isDirectSelected
// do not calculate achievements if items or achievements are not selected
if (this.isDirectSelected('items') && this.isDirectSelected('achievements')) {