mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	fix: fix some todo's in core (#360)
This commit is contained in:
		| @ -173,14 +173,14 @@ async fn trigger_webhook_to_merchant( | ||||
|  | ||||
|     match response { | ||||
|         Err(e) => { | ||||
|             // TODO: Schedule webhook for retry. | ||||
|             // [#217]: Schedule webhook for retry. | ||||
|             Err(e) | ||||
|                 .into_report() | ||||
|                 .change_context(errors::WebhooksFlowError::CallToMerchantFailed)?; | ||||
|         } | ||||
|         Ok(res) => { | ||||
|             if !res.status().is_success() { | ||||
|                 // TODO: Schedule webhook for retry. | ||||
|                 // [#217]: Schedule webhook for retry. | ||||
|                 Err(errors::WebhooksFlowError::NotReceivedByMerchant).into_report()?; | ||||
|             } | ||||
|         } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Kartikeya Hegde
					Kartikeya Hegde