mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(router): add retrieve poll status api (#4358)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		 Sai Harsha Vardhan
					Sai Harsha Vardhan
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							5a0a8cee76
						
					
				
				
					commit
					ca47ea9b13
				
			| @ -599,6 +599,10 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode { | ||||
|                 object: "business_profile".to_owned(), | ||||
|                 id, | ||||
|             }, | ||||
|             errors::ApiErrorResponse::PollNotFound { id } => Self::ResourceMissing { | ||||
|                 object: "poll".to_owned(), | ||||
|                 id, | ||||
|             }, | ||||
|             errors::ApiErrorResponse::DisputeStatusValidationFailed { reason } => { | ||||
|                 Self::InternalServerError | ||||
|             } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user