mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	refactor(core): Add additional parameters in AppState and refactor AppState references (#2123)
Co-authored-by: Kritik Modi <kritik.modi@juspay.in> Co-authored-by: Kritik Modi <61862301+kritikmodi@users.noreply.github.com> Co-authored-by: Nitesh Balla <nitesh.balla@juspay.in>
This commit is contained in:
		 Abhishek Marrivagu
					Abhishek Marrivagu
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							b39369ced9
						
					
				
				
					commit
					a0a8ef27b3
				
			| @ -39,7 +39,7 @@ pub async fn files_create( | ||||
|     }; | ||||
|     api::server_wrap( | ||||
|         flow, | ||||
|         state.get_ref(), | ||||
|         state, | ||||
|         &req, | ||||
|         create_file_request, | ||||
|         |state, auth, req| files_create_core(state, auth.merchant_account, auth.key_store, req), | ||||
| @ -77,7 +77,7 @@ pub async fn files_delete( | ||||
|     }; | ||||
|     api::server_wrap( | ||||
|         flow, | ||||
|         state.get_ref(), | ||||
|         state, | ||||
|         &req, | ||||
|         file_id, | ||||
|         |state, auth, req| files_delete_core(state, auth.merchant_account, req), | ||||
| @ -115,7 +115,7 @@ pub async fn files_retrieve( | ||||
|     }; | ||||
|     api::server_wrap( | ||||
|         flow, | ||||
|         state.get_ref(), | ||||
|         state, | ||||
|         &req, | ||||
|         file_id, | ||||
|         |state, auth, req| files_retrieve_core(state, auth.merchant_account, auth.key_store, req), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user