You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let client = get_client().await?;let get_invoice_req = GetInvoice::new(&invoice_id);let get_invoice_res = client.execute(&get_invoice_req).await;
When the invoice is unpaid, it returns Ok, but when the invoice is paid, it turn outs to be HttpError(reqwest::Error { kind: Decode, source: Error("input is not enough for unique date and time", line: 1, column: 1544) }).
The text was updated successfully, but these errors were encountered:
Code is below:
When the invoice is unpaid, it returns
Ok
, but when the invoice is paid, it turn outs to beHttpError(reqwest::Error { kind: Decode, source: Error("input is not enough for unique date and time", line: 1, column: 1544) })
.The text was updated successfully, but these errors were encountered: