Skip to content

Commit

Permalink
revert 300 status code 'typo'
Browse files Browse the repository at this point in the history
  • Loading branch information
cianbuckley committed Oct 6, 2023
1 parent e64eb3a commit 0835a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ShopifyCheckout/CheckoutView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ extension CheckoutView: WKNavigationDelegate {
}

func handleResponse(_ response: HTTPURLResponse) -> WKNavigationResponsePolicy {
if isCheckout(url: response.url) && response.statusCode >= 300 {
if isCheckout(url: response.url) && response.statusCode >= 400 {
CheckoutView.cache = nil
let message: String = {
switch response.statusCode {
Expand Down

0 comments on commit 0835a3d

Please sign in to comment.