@@ -35,7 +35,7 @@ Meteor.startup(async () => {
3535
3636 const blueprint = ( await Blueprints . findOneAsync (
3737 { _id : doc . blueprintId , blueprintType : BlueprintManifestType . STUDIO } ,
38- { fields : { _id : 1 , studioConfigPresets : 1 } }
38+ { projection : { _id : 1 , studioConfigPresets : 1 } }
3939 ) ) as Pick < Blueprint , '_id' | 'studioConfigPresets' > | undefined
4040
4141 if ( ! blueprint ?. studioConfigPresets ) {
@@ -100,7 +100,7 @@ Meteor.startup(async () => {
100100
101101 const blueprint = ( await Blueprints . findOneAsync (
102102 { _id : doc . blueprintId , blueprintType : BlueprintManifestType . SHOWSTYLE } ,
103- { fields : { _id : 1 , showStyleConfigPresets : 1 } }
103+ { projection : { _id : 1 , showStyleConfigPresets : 1 } }
104104 ) ) as Pick < Blueprint , '_id' | 'showStyleConfigPresets' > | undefined
105105
106106 if ( ! blueprint ?. showStyleConfigPresets ) {
@@ -116,7 +116,7 @@ Meteor.startup(async () => {
116116
117117 const variants = ( await ShowStyleVariants . findFetchAsync (
118118 { showStyleBaseId : doc . _id } ,
119- { fields : { blueprintConfigPresetId : 1 } }
119+ { projection : { blueprintConfigPresetId : 1 } }
120120 ) ) as Pick < DBShowStyleVariant , '_id' | 'blueprintConfigPresetId' > [ ]
121121
122122 const ps : Promise < unknown > [ ] = [
@@ -188,7 +188,7 @@ Meteor.startup(async () => {
188188
189189 const blueprint = ( await Blueprints . findOneAsync (
190190 { _id : showStyleBase . blueprintId , blueprintType : BlueprintManifestType . SHOWSTYLE } ,
191- { fields : { _id : 1 , showStyleConfigPresets : 1 } }
191+ { projection : { _id : 1 , showStyleConfigPresets : 1 } }
192192 ) ) as Pick < Blueprint , '_id' | 'showStyleConfigPresets' > | undefined
193193
194194 if ( ! blueprint ?. showStyleConfigPresets ) {
0 commit comments