mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat: encryption service integration to support batch encryption and decryption (#5164)
Co-authored-by: dracarys18 <karthikey.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -14,7 +14,7 @@ pub async fn transfer_encryption_key( | ||||
| ) -> errors::CustomResult<usize, errors::ApiErrorResponse> { | ||||
|     let db = &*state.store; | ||||
|     let key_stores = db | ||||
|         .get_all_key_stores(&db.get_master_key().to_vec().into()) | ||||
|         .get_all_key_stores(&state.into(), &db.get_master_key().to_vec().into()) | ||||
|         .await | ||||
|         .change_context(errors::ApiErrorResponse::InternalServerError)?; | ||||
|     send_request_to_key_service_for_merchant(state, key_stores).await | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Arjun Karthik
					Arjun Karthik