From e7528f172cce3f0d7e3dfab9e332a80b8accf726 Mon Sep 17 00:00:00 2001 From: Ivan Stasiuk Date: Mon, 15 Apr 2024 14:33:40 +0100 Subject: [PATCH] fix: 202 --- fx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fx.go b/fx.go index 50629be..95033ee 100644 --- a/fx.go +++ b/fx.go @@ -123,6 +123,6 @@ func (c *client) ExecuteFxQuote(ctx context.Context, payload FXPayload) (err err return fmt.Errorf("failed to create request: %w", err) } - req.ExpectStatus(http.StatusOK) + req.ExpectStatus(http.StatusAccepted) return c.do(ctx, req) }