File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const load = parseGraphQLSchema => {
3131 const { name, schemaFields } = deepcopy ( args ) ;
3232 const { config, auth } = context ;
3333
34- enforceMasterKeyAccess ( auth , config ) ;
34+ enforceMasterKeyAccess ( auth ) ;
3535
3636 if ( auth . isReadOnly ) {
3737 throw createSanitizedError (
@@ -80,7 +80,7 @@ const load = parseGraphQLSchema => {
8080 const { name, schemaFields } = deepcopy ( args ) ;
8181 const { config, auth } = context ;
8282
83- enforceMasterKeyAccess ( auth , config ) ;
83+ enforceMasterKeyAccess ( auth ) ;
8484
8585 if ( auth . isReadOnly ) {
8686 throw createSanitizedError (
@@ -131,7 +131,7 @@ const load = parseGraphQLSchema => {
131131 const { name } = deepcopy ( args ) ;
132132 const { config, auth } = context ;
133133
134- enforceMasterKeyAccess ( auth , config ) ;
134+ enforceMasterKeyAccess ( auth ) ;
135135
136136 if ( auth . isReadOnly ) {
137137 throw createSanitizedError (
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const load = parseGraphQLSchema => {
3131 const { name } = deepcopy ( args ) ;
3232 const { config, auth } = context ;
3333
34- enforceMasterKeyAccess ( auth , config ) ;
34+ enforceMasterKeyAccess ( auth ) ;
3535
3636 const schema = await config . database . loadSchema ( { clearCache : true } ) ;
3737 const parseClass = await getClass ( name , schema ) ;
@@ -57,7 +57,7 @@ const load = parseGraphQLSchema => {
5757 try {
5858 const { config, auth } = context ;
5959
60- enforceMasterKeyAccess ( auth , config ) ;
60+ enforceMasterKeyAccess ( auth ) ;
6161
6262 const schema = await config . database . loadSchema ( { clearCache : true } ) ;
6363 return ( await schema . getAllClasses ( true ) ) . map ( parseClass => ( {
You can’t perform that action at this time.
0 commit comments