mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:50:53 +08:00 
			
		
		
		
	refactor: introduce a domain type for profile ID (#5687)
This commit is contained in:
		| @ -178,7 +178,7 @@ pub async fn create_new_authentication( | ||||
|     merchant_id: common_utils::id_type::MerchantId, | ||||
|     authentication_connector: String, | ||||
|     token: String, | ||||
|     profile_id: String, | ||||
|     profile_id: common_utils::id_type::ProfileId, | ||||
|     payment_id: Option<String>, | ||||
|     merchant_connector_id: String, | ||||
| ) -> RouterResult<storage::Authentication> { | ||||
| @ -285,7 +285,7 @@ pub async fn get_authentication_connector_data( | ||||
|         .ok_or(errors::ApiErrorResponse::UnprocessableEntity { | ||||
|             message: format!( | ||||
|                 "No authentication_connector found for profile_id {}", | ||||
|                 business_profile.profile_id | ||||
|                 business_profile.profile_id.get_string_repr() | ||||
|             ), | ||||
|         }) | ||||
|         .attach_printable( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde