mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	refactor: use simple uuid instead of hyphens (#605)
This commit is contained in:
		| @ -420,7 +420,7 @@ impl PaymentCreate { | ||||
|         storage::PaymentAttemptNew { | ||||
|             payment_id: payment_id.to_string(), | ||||
|             merchant_id: merchant_id.to_string(), | ||||
|             attempt_id: Uuid::new_v4().to_string(), | ||||
|             attempt_id: Uuid::new_v4().simple().to_string(), | ||||
|             status, | ||||
|             amount: amount.into(), | ||||
|             currency, | ||||
|  | ||||
| @ -274,7 +274,7 @@ impl PaymentMethodValidate { | ||||
|         storage::PaymentAttemptNew { | ||||
|             payment_id: payment_id.to_string(), | ||||
|             merchant_id: merchant_id.to_string(), | ||||
|             attempt_id: Uuid::new_v4().to_string(), | ||||
|             attempt_id: Uuid::new_v4().simple().to_string(), | ||||
|             status, | ||||
|             // Amount & Currency will be zero in this case | ||||
|             amount: 0, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat