mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	Merge branch 'main' into STRAP-54
This commit is contained in:
		
						commit
						ca88a6802b
					
				
							
								
								
									
										2
									
								
								.github/workflows/pages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/pages.yml
									
									
									
									
										vendored
									
									
								
							| @ -4,6 +4,8 @@ on: | ||||
|   push: | ||||
|     branches: | ||||
|       - 'main' | ||||
|     paths: | ||||
|       - 'docs/**' | ||||
| 
 | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
|  | ||||
| @ -60,6 +60,10 @@ module.exports = ({ strapi }) => ({ | ||||
|           ...createLocalizationResolversConfig, | ||||
|           // locale arg transformation for localized createEntity mutations
 | ||||
|           ...getLocalizedCreateMutationsResolversConfigs({ typeRegistry }), | ||||
| 
 | ||||
|           // Modify the default scope associated to find and findOne locale queries to match the actual action name
 | ||||
|           'Query.i18NLocale': { auth: { scope: 'plugin::i18n.locales.listLocales' } }, | ||||
|           'Query.i18NLocales': { auth: { scope: 'plugin::i18n.locales.listLocales' } }, | ||||
|         }, | ||||
|       }; | ||||
|     }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 GitStart
						GitStart